Skip to content

Commit

Permalink
KC
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekrozemberczki committed Nov 21, 2021
1 parent b111df2 commit 2172962
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,22 @@ jobs:
run: |
conda install -y scipy
pip install codecov
pip install pytest
python setup.py install
- name: Test coverage.
- name: Install main package
run: |
pip install pytest
pytest
codecov
- name: Code Coverage
pip install -e .[test]
- name: Run test-suite
run: |
python -m pytest
- name: Generate coverage report
if: success()
run: |
pip install coverage
coverage run -m pytest
coverage xml
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v1
if: success()
with:
file: coverage.xml

0 comments on commit 2172962

Please sign in to comment.