From b4b9d4655ba4f758c720e5f4c09eb5435ccf9a14 Mon Sep 17 00:00:00 2001 From: Lukas Hergt Date: Fri, 27 Sep 2024 00:22:15 +0200 Subject: [PATCH] add code coverage to "minimum-dependencies" check in CI (#397) * add code coverage to "minimum-dependencies" check in CI * Update README.rst * Update _version.py --- .github/workflows/CI.yaml | 7 ++++++- README.rst | 2 +- anesthetic/_version.py | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index a662ba6a..4005afa5 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -172,7 +172,12 @@ jobs: run: python -m pip install -e ".[test]" - name: Test with pytest - run: python -m pytest tests + run: python -m pytest --cov=anesthetic tests + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} latest-dependencies: runs-on: ubuntu-latest diff --git a/README.rst b/README.rst index 5e4e2096..5acc5279 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ anesthetic: nested sampling post-processing =========================================== :Authors: Will Handley and Lukas Hergt -:Version: 2.8.14 +:Version: 2.8.15 :Homepage: https://github.com/handley-lab/anesthetic :Documentation: http://anesthetic.readthedocs.io/ diff --git a/anesthetic/_version.py b/anesthetic/_version.py index 965b8c85..7cdefb37 100644 --- a/anesthetic/_version.py +++ b/anesthetic/_version.py @@ -1 +1 @@ -__version__ = '2.8.14' +__version__ = '2.8.15'