diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f3c53e..144d017 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -50,7 +50,7 @@ jobs: - name: Install python dependencies run: | - micromamba install -c conda-forge --file conda-requirements.txt python=${{ matrix.python-version }} corner coveralls numpy + micromamba install -c conda-forge --file conda-requirements.txt python=${{ matrix.python-version }} corner coveralls numpy pytest pip install git+https://github.com/JohannesBuchner/coverage-lcov #sed --in-place -e 's,"report_include",,g' -e 's,"report_omit",,g' /usr/share/miniconda/envs/*/lib/python*/site-packages/coverage_lcov/converter.py conda list @@ -84,7 +84,7 @@ jobs: run: | # do not test pycuba, it is broken rm tests/pycuba_test.py - coverage run pytest + coverage run -m pytest coverage report coverage-lcov python pymultinest_demo_minimal.py