Skip to content

Commit

Permalink
Upgrade tests workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmabus committed Oct 16, 2023
1 parent 5ae5d2a commit 3995228
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3995228

Please sign in to comment.