From 935186c46467f52109c478a22c43d9d414e25362 Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Wed, 22 May 2024 16:50:21 +0200 Subject: [PATCH] [coverage]: Use pip to install package --- .github/workflows/coverage.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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