File tree Expand file tree Collapse file tree 2 files changed +24
-6
lines changed
Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -3,18 +3,29 @@ on: [push, pull_request]
33jobs :
44 run :
55 runs-on : ubuntu-latest
6+
67 steps :
78 - name : Checkout
89 uses : actions/checkout@v4
10+ with :
11+ fetch-depth : 0
912 - name : Set up Python 3.10
1013 uses : actions/setup-python@v4
1114 with :
1215 python-version : ' 3.10'
1316 - name : Install dependencies
1417 run : pip install -r requirements.txt
18+ - name : Run ATS
19+ uses : codecov/codecov-ats@v0
20+ env :
21+ CODECOV_STATIC_TOKEN : ${{ secrets.CODECOV_STATIC_TOKEN }}
22+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
1523 - name : Run tests and collect coverage
16- run : pytest --cov app
24+ run : pytest --cov app ${{ env.CODECOV_ATS_TESTS }}
1725 - name : Upload coverage to Codecov
1826 uses : codecov/codecov-action@v4-beta
27+ with :
28+ flags : smart-tests
29+ verbose : true
1930 env :
2031 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments