Skip to content

Commit

Permalink
Merge branch 'master' of github.com:GDeLaurentis/lips
Browse files Browse the repository at this point in the history
  • Loading branch information
GDeLaurentis committed Oct 23, 2022
2 parents 3613154 + ba21d06 commit eac805d
Show file tree
Hide file tree
Showing 75 changed files with 5,486 additions and 13,145 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/continuous_integration.yml
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"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ __pycache__
*.egg-info/
dist/
venv/
htmlcov/
htmlcov/
*.pickle
26 changes: 26 additions & 0 deletions README.md
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
```
1 change: 1 addition & 0 deletions apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
singular
7 changes: 2 additions & 5 deletions docs/_sources/lips.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,21 @@ lips.particles
:members:
:undoc-members:

lips.particles\_compute
------------------------------

.. automodule:: lips.particles_compute
:members:
:undoc-members:

lips.particles\_set
--------------------------

.. automodule:: lips.particles_set
.. automodule:: lips.hardcoded_limits.particles_set
:members:
:undoc-members:

lips.particles\_set\_pair
--------------------------------

.. automodule:: lips.particles_set_pair
.. automodule:: lips.hardcoded_limits.particles_set_pair
:members:
:undoc-members:

Expand Down
Binary file removed docs/_static/ajax-loader.gif
Binary file not shown.
261 changes: 0 additions & 261 deletions docs/_static/classic.css

This file was deleted.

Binary file removed docs/_static/comment-bright.png
Binary file not shown.
Binary file removed docs/_static/comment-close.png
Binary file not shown.
Binary file removed docs/_static/comment.png
Binary file not shown.
1 change: 0 additions & 1 deletion docs/_static/default.css

This file was deleted.

Binary file removed docs/_static/down-pressed.png
Binary file not shown.
Binary file removed docs/_static/down.png
Binary file not shown.
Loading

0 comments on commit eac805d

Please sign in to comment.