Skip to content

Commit

Permalink
Merge branch 'release/0.5.0'
Browse files Browse the repository at this point in the history
* release/0.5.0: (126 commits)
  Bump version
  Improve bench cov doc
  Expand FNS theory section in the docs
  Exclude py3.9 from unittests
  Fix lint error in pc
  Fix TMC
  Add comparison tables for benchmarks in the docs
  Replace versions boilerplate with packutil
  minor fix on test_init
  Minor fix on xspace_bench
  init qcdnum runner
  Prepare benchmark runners
  Solving xspace-bench
  Add Sandbox
  Improve doc/fonll
  Trivial tests
  Add basic logs
  Improve caching
  Add SQL lookup
  Lift copyright year, improve doc/fns
  ...
  • Loading branch information
alecandido committed Jan 29, 2021
2 parents b8882b5 + 61bcf08 commit 2d37731
Show file tree
Hide file tree
Showing 174 changed files with 90,637 additions and 5,073 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- name: Configure git-lfs to ignore most files
run: |
git config --global lfs.fetchinclude 'benchmarks/storage/apfel-input.json'
git config --global lfs.fetchinclude 'benchmarks/storage/apfel.json'
# checkout the repo on the github runner
- uses: actions/checkout@v2
with:
Expand All @@ -43,12 +43,12 @@ jobs:
# install packages needed for testing
pip install -r test_requirements.txt
# move db
mv benchmarks/storage/apfel-input.json benchmarks/data/
mv benchmarks/storage/apfel.json benchmarks/data/
# run the test with 'pytest'
- name: Test yadism
run: |
# run tests
pytest -m commit_check benchmarks/runners/benchmark_against_*.py
pytest -m commit_check benchmarks/runners/apfel.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
max-parallel: 3
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8] # , 3.9] wait for numba to be available
fail-fast: false

steps:
Expand All @@ -34,8 +34,6 @@ jobs:
# install packages needed for testing
pip install -r test_requirements.txt
# pass with the linter
# - only for 'dis', 'eko' is a dependency (supposed to be delivered
# already checked)
- name: Lint with pylint
run: |
pip install pylint
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<p align="center">
<a href="https://n3pdf.github.io/yadism/"><img alt="Yadism" src="docs/_assets/logo/logo.png" width=600></a>
<a href="https://n3pdf.github.io/yadism/"><img alt="Yadism" src="https://raw.githubusercontent.com/N3PDF/yadism/master/docs/_assets/logo/logo.png" width=600></a>
</p>

<p align="center">
<a href="https://github.com/N3PDF/yadism/actions?query=workflow%3A%22yadism%22"><img alt="Tests" src="https://github.com/N3PDF/yadism/workflows/yadism/badge.svg"></a>
<a href="https://pypi.org/project/yadism/"><img alt="PyPI" src="https://img.shields.io/pypi/v/yadism"/></a>
<a href="https://codecov.io/gh/N3PDF/yadism"><img src="https://codecov.io/gh/N3PDF/yadism/branch/master/graph/badge.svg?token=qgCFyUQ6oG" /></a>
<a href="https://www.codefactor.io/repository/github/n3pdf/yadism"><img src="https://www.codefactor.io/repository/github/n3pdf/yadism/badge?s=e5a00668b58574b5b056e1aca01c7b25d2c203f8" alt="CodeFactor" /></a>
<a href="https://zenodo.org/badge/latestdoi/219968694"><img src="https://zenodo.org/badge/219968694.svg" alt="DOI"></a>
Expand All @@ -17,11 +18,6 @@ use the ones provided by shields.io:
note: in order to make shields.io the repo must be public (or accessible to it in some way)
wanted:
- Package version
- pypi: /pypi/v/:packageName
- github: /github/v/release/:user/:repo?sort=semver
optional:
- Release-date (github):
- /github/release-date/:user/:repo
Expand Down
5 changes: 5 additions & 0 deletions benchmarks/banana.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
database_path: data/benchmark.db
input_tables:
- theories
- observables
- cache
1 change: 1 addition & 0 deletions benchmarks/data/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.json
*.db
Loading

0 comments on commit 2d37731

Please sign in to comment.