File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,56 +112,6 @@ jobs:
112112 name : ${{matrix.python-version}}junit.xml
113113 path : ${{matrix.python-version}}junit.xml
114114
115- static-analysis :
116- runs-on : ubuntu-latest
117- needs : codecov-startup
118- if : ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
119- steps :
120- - uses : actions/checkout@v4
121- with :
122- submodules : true
123- fetch-depth : 2
124- - uses : actions/setup-python@v5
125- with :
126- python-version : " 3.12"
127- - name : Install CLI
128- run : |
129- pip install codecov-cli
130- - uses : actions/checkout@v3
131- with :
132- submodules : true
133- fetch-depth : 2
134- - name : Static Analysis
135- run : |
136- codecovcli static-analysis --token ${{ secrets.STATIC_TOKEN }}
137-
138- label-analysis :
139- runs-on : ubuntu-latest
140- needs : static-analysis
141- if : ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
142- steps :
143- - uses : actions/checkout@v4
144- with :
145- submodules : true
146- fetch-depth : 0
147- - uses : actions/setup-python@v5
148- with :
149- python-version : " 3.12"
150- - name : Install dependencies for Dogfooding
151- run : |
152- python -m pip install --upgrade pip
153- pip install -r requirements.txt
154- python -m pip install -e .
155- pip install -r tests/requirements.txt
156- - name : Label Analysis
157- run : |
158- BASE_SHA=$(git merge-base HEAD^ origin/main)
159- echo $BASE_SHA
160- codecovcli label-analysis --token ${{ secrets.STATIC_TOKEN }} --base-sha=$BASE_SHA --max-wait-time=120
161- - name : Upload smart-labels
162- run : |
163- codecovcli --codecov-yml-path=codecov.yml do-upload --plugin pycoverage --plugin compress-pycoverage --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --flag smart-labels
164-
165115 process-test-results :
166116 if : ${{ always() }}
167117 needs : build-test-upload
Original file line number Diff line number Diff line change 11ignore :
22 - tests/**
3-
4- beta_groups :
5- - " labels"
6-
7- flag_management :
8- individual_flags :
9- - name : " smart-labels"
10- carryforward : true
11- carryforward_mode : " labels"
12-
13- cli :
14- plugins :
15- pycoverage :
16- report_type : " json"
You can’t perform that action at this time.
0 commit comments