Skip to content

Commit

Permalink
ci: change cov flag to titan, hopefully ignore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcgrath13 committed Dec 17, 2019
1 parent f53a95b commit 3d07782
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
run: |
pip install pytest
pip install pytest-cov
python -m pytest -m "not integration" --cov=./ --cov-report=xml
python -m pytest -m "not integration" --cov=titan --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unit
- name: Integration Test with pytest
run: |
python -m pytest -m integration --cov=./ --cov-report=xml
python -m pytest -m integration --cov=titan --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
Expand Down
3 changes: 0 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@ coverage:
target: 90%
threshold: 2%

ignore:
- "**_test.py"

comment:
layout: "header, diff, flags"

0 comments on commit 3d07782

Please sign in to comment.