diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48bd5d9..237b281 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,10 @@ jobs: # run: | # python3 ${CI_PROJECT_DIR}/tests/test_orbit.py # pytest --cov-report=xml --cov=coffea --deselect=test_taskvine + - name: Run tests + if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12 + run: | + coverage run -m pytest ./tests/ - name: Upload coverage reports to Codecov if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12 uses: codecov/codecov-action@v4 diff --git a/requirements.txt b/requirements.txt index f4c2423..36c96e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -21,6 +21,7 @@ matplotlib pypdf2 ipyvolume ipython_genutils +pytest-cov ipython pytest imageio