Skip to content

Commit

Permalink
feat: test out fail test ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Jan 24, 2024
1 parent 58da9ce commit 25d0d22
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@ jobs:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run ATS
uses: codecov/codecov-ats@v0
env:
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Run tests and collect coverage
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
run: pytest --cov app --junitxml=testresults.xml

- name: Install CLI
run: pip install --no-cache-dir git+https://github.com/codecov/codecov-cli.git@joseph/test-results-staging
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
with:
flags: smart-tests
verbose: true
run: codecovcli -v do-upload --report-type test_results --file testresults.junit.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 25d0d22

Please sign in to comment.