diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index f724f33..00997c4 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -28,11 +28,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pytest-cov codecov - python setup.py develop easy_install "catmux[test]" + pip install pytest-cov codecov coverage + pip install -e .[test] - name: Test with pytest run: | - pytest --cov=catmux --cov-report=xml . + coverage run --source=catmux -m pytest && coverage report + coverage xml -o coverage.xml - name: Run example run: | catmux_create_session -d catmux/resources/example_session.yaml