Skip to content

Commit

Permalink
Merge pull request #515 from marrink-lab/patch-CI
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
fgrunewald committed Apr 25, 2023
2 parents 63aceb6 + f512b0c commit 1fba29e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ coverage:
patch:
default:
target: 90

ignore:
- vermouth/tests
comment: off

17 changes: 9 additions & 8 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,16 @@ jobs:
pip install -r requirements-tests.txt
- name: Run pytest with codecoverage
run: |
coverage run --source=vermouth $(which pytest) -vv vermouth --hypothesis-show-statistics
coverage report --omit='*/bin/pytest'
run: pytest vermouth --cov=vermouth --cov-report=xml --hypothesis-show-statistics
- if: ${{ matrix.WITH_CODECOV }}
name: Report code coverage
run: |
codecov
name: Upload coverage codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true
verbose: true

lint:
runs-on: ubuntu-latest

Expand Down

0 comments on commit 1fba29e

Please sign in to comment.