diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86a7301..37acbb7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,16 +23,13 @@ jobs: - name: Install dependencies run: | - pip3 install codecov pytest-cov || pip3 install --user codecov pytest-cov; + pip3 install pytest-cov || pip3 install --user pytest-cov; - name: Run tests run: | - pip3 install . - coverage run --source=rdata/ --omit=rdata/tests/ pytest; - - - name: Generate coverage XML - run: | - coverage xml + pip3 debug --verbose . + pip3 install ".[test]" + pytest --cov=rdata/ --cov-report=xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3