Skip to content

Commit

Permalink
Fight with more CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pckroon committed Jan 29, 2024
1 parent 806a0d1 commit d7ce38f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Run pytest with codecoverage
run: |
coverage run --source=vermouth $(which pytest) -vv vermouth --hypothesis-show-statistics
coverage run $(which pytest) -vv --hypothesis-show-statistics
coverage report --omit='*/bin/pytest'
- if: ${{ matrix.WITH_CODECOV }}
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ jobs:
pip install -r requirements-tests.txt
- name: Run pytest with codecoverage
run: pytest vermouth --cov=vermouth --cov-report=xml --hypothesis-show-statistics
run: |
coverage run $(which pytest) -vv --hypothesis-show-statistics
coverage report
coverage xml
- if: ${{ matrix.WITH_CODECOV }}
name: Upload coverage codecov
uses: codecov/codecov-action@v3
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ python_files = "test_*.py"

[tool.coverage.run]
branch = true
omit = ["vermouth/tests/*", "vermouth/redistributed/*"]

omit = ["vermouth/tests/*", "vermouth/redistributed/*", '*/bin/pytest']
source_pkgs = ["vermouth"]

0 comments on commit d7ce38f

Please sign in to comment.