File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed
Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 1313 env :
1414 PIO_ENV : native_code_coverage
1515 FILE_ROOT : speeduino_coverage
16- COBERTURA_FILE : speeduino_coverage.cobertura.xml
1716 GCOV_IGNORES : |
1817 test/
1918 lib/ArduinoFake/
@@ -49,25 +48,25 @@ jobs:
4948 source PIO/bin/activate
5049 platformio test -v -e ${{ env.PIO_ENV }}
5150
52- - name : Upload to Coveralls
53- continue-on-error : true
51+ - name : Upload to CodeCov
52+ uses : codecov/codecov-action@v5
53+ if : ${{ !env.ACT }}
54+ with :
55+ token : ${{ secrets.CODECOV_TOKEN }}
56+ gcov_ignore : ${{ env.GCOV_IGNORES }}
57+ # verbose: true
58+
59+ - name : Generate coverage report
60+ if : ${{ env.ACT }}
5461 uses : threeal/gcovr-action@v1.2.0
5562 with :
56- coveralls-send : true
63+ coveralls-send : false
5764 print-summary : true
5865 excludes : ${{ env.GCOV_IGNORES }}
59- github-token : ${{ secrets.GITHUB_TOKEN }}
6066 html-out : .pio/build/${{ env.PIO_ENV }}/${{ env.FILE_ROOT }}.html
6167 html-details : true
6268 # coveralls-out: .pio/build/${{ env.PIO_ENV }}/${{ env.FILE_ROOT }}.coveralls
63- # cobertura-out: .pio/build/${{ env.PIO_ENV }}/${{ env.COBERTURA_FILE }}
64-
65- - name : Upload to CodeCov
66- uses : codecov/codecov-action@v5
67- with :
68- token : ${{ secrets.CODECOV_TOKEN }}
69- gcov_ignore : ${{ env.GCOV_IGNORES }}
70- verbose : true
69+ # cobertura-out: .pio/build/${{ env.PIO_ENV }}/${{ env.FILE_ROOT }}.cobertura.xml
7170
7271 - name : Upload reports
7372 if : ${{ env.ACT }}
You can’t perform that action at this time.
0 commit comments