Skip to content

Commit

Permalink
try using flags to distinguish unit and integration test coverages
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed May 15, 2024
1 parent af330dc commit ca99063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
EDL_PASSWORD: ${{ secrets.DEK_EDL_PASSWORD }}
run: |
scripts/create-netrc
poetry run pytest --cov=concatenator --cov-report=term-missing --log-cli-level=INFO tests/integration
poetry run pytest --cov=concatenator --cov-report=term-missing --log-cli-level=INFO tests/integration -F integration
- name: Upload coverage
uses: codecov/codecov-action@v4
3 changes: 1 addition & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ jobs:
poetry run ruff check concatenator
- name: Run tests and collect coverage
run: poetry run pytest --cov=concatenator tests/unit --cov-report=xml
# TODO: expand tests to include full concatenation runs, i.e., not only test_dataset_and_group_handling.py
run: poetry run pytest --cov=concatenator tests/unit --cov-report=xml -F unit

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit ca99063

Please sign in to comment.