Skip to content

Commit

Permalink
change flag implementation to codecov-action "with"
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed May 15, 2024
1 parent a358271 commit f772f3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ 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 -F integration
poetry run pytest --cov=concatenator --cov-report=term-missing --log-cli-level=INFO tests/integration
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
flags: integration
3 changes: 2 additions & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
poetry run ruff check concatenator
- name: Run tests and collect coverage
run: poetry run pytest --cov=concatenator tests/unit --cov-report=xml -F unit
run: poetry run pytest --cov=concatenator tests/unit --cov-report=xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
flags: unit

0 comments on commit f772f3a

Please sign in to comment.