-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:GDeLaurentis/lips
- Loading branch information
Showing
75 changed files
with
5,486 additions
and
13,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
branches: [ master, public ] | ||
pull_request: | ||
branches: [ master, public ] | ||
workflow_dispatch: | ||
branches: [ master, public ] | ||
|
||
jobs: | ||
|
||
CI: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Install singular | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install singular | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Checkout this Repo | ||
uses: actions/checkout@v2 | ||
with: | ||
path: lips-dev | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 pytest pytest-cov | ||
pip install -e lips-dev | ||
- name: Lint with flake8 | ||
run: | | ||
cd lips-dev | ||
flake8 lips/ --count --max-line-length=190 --statistics --verbose | ||
- name: Test with pytest | ||
run: | | ||
cd lips-dev | ||
pytest |& tee coverage.txt | ||
- name: Run update-badges script | ||
run: | | ||
cd lips-dev | ||
python update-badges.py | ||
- name: Update badges and commit README.md | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
file_pattern: README.md | ||
repository: lips-dev | ||
commit_message: "Automatic badge update" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ __pycache__ | |
*.egg-info/ | ||
dist/ | ||
venv/ | ||
htmlcov/ | ||
htmlcov/ | ||
*.pickle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
# Lorentz Invariant Phase Space | ||
|
||
[![Continuous Integration Status](https://github.com/GDeLaurentis/lips/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/GDeLaurentis/lips/actions) | ||
[![Coverage](https://img.shields.io/badge/Coverage-80%25-greenyellow?labelColor=2a2f35)](https://github.com/GDeLaurentis/lips-dev/actions) | ||
[![PyPI Downloads](https://img.shields.io/pypi/dm/lips.svg?label=PyPI%20downloads)](https://pypi.org/project/lips/) | ||
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/GDeLaurentis/lips/HEAD) | ||
|
||
|
||
## Requirements | ||
``` | ||
numpy, mpmath, sympy | ||
``` | ||
Algebraic-gemetry tools require | ||
``` | ||
Singular | ||
``` | ||
|
||
## Installation | ||
``` | ||
pip install -e path/to/repo | ||
``` | ||
|
||
## Testing | ||
|
||
``` | ||
pytest --cov lips/ --cov-report html tests/ --verbose | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
singular |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.