Skip to content

Commit

Permalink
feat: add ats
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Sep 22, 2023
1 parent a171a38 commit 331ea49
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
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
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS_TO_RUN }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
env:
Expand Down

0 comments on commit 331ea49

Please sign in to comment.