Skip to content

Commit

Permalink
fix: do the ats thing
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Nov 10, 2023
1 parent 8ff8691 commit c94d63d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
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 }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
with:
flags: smart-tests
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
17 changes: 12 additions & 5 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
profiling:
critical_files_paths:
- app/calculator.py
flag_management:
individual_flags:
- name: smart-tests
carryforward: true
carryforward_mode: "labels"
statuses:
- type: "project"
- type: "patch"

comment:
show_critical_paths: true
cli:
plugins:
pycoverage:
report_type: "json"

0 comments on commit c94d63d

Please sign in to comment.