Skip to content

Commit c94d63d

Browse files
fix: do the ats thing
1 parent 8ff8691 commit c94d63d

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
CODECOV_STATIC_TOKEN: ${{ secrets.CODECOV_STATIC_TOKEN }}
2020
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2121
- name: Run tests and collect coverage
22-
run: pytest --cov app
22+
run: pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
2323
- name: Upload coverage to Codecov
2424
uses: codecov/codecov-action@v4-beta
25+
with:
26+
flags: smart-tests
27+
verbose: true
2528
env:
2629
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

codecov.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
profiling:
2-
critical_files_paths:
3-
- app/calculator.py
1+
flag_management:
2+
individual_flags:
3+
- name: smart-tests
4+
carryforward: true
5+
carryforward_mode: "labels"
6+
statuses:
7+
- type: "project"
8+
- type: "patch"
49

5-
comment:
6-
show_critical_paths: true
10+
cli:
11+
plugins:
12+
pycoverage:
13+
report_type: "json"

0 commit comments

Comments
 (0)