File tree Expand file tree Collapse file tree 2 files changed +4
-29
lines changed
Expand file tree Collapse file tree 2 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -69,28 +69,15 @@ jobs:
6969 if : runner.os == 'Linux'
7070 run : lcov --remove ./coverage/lcov.info '*/lib/src/*.g.dart' '*/lib/src/models/drift/*' -o ./coverage/lcov.info
7171
72- - name : Debug - Check Codecov repo API (Linux)
73- if : runner.os == 'Linux'
74- run : |
75- echo "Checking Codecov API for osociety/network_tools"
76- http_code=$(curl -s -H "Authorization: token ${{ secrets.CODECOV_TOKEN }}" -w "%{http_code}" -o /tmp/codecov_resp.json https://codecov.io/api/gh/osociety/network_tools)
77- echo "HTTP status: $http_code"
78- if [ -s /tmp/codecov_resp.json ]; then
79- echo "Response snippet:"
80- head -n 20 /tmp/codecov_resp.json
81- else
82- echo "No response body saved"
83- fi
84-
8572 - name : Upload coverage to Codecov (Linux)
8673 if : runner.os == 'Linux'
87- uses : codecov/codecov-action@v3
74+ uses : codecov/codecov-action@v4
8875 with :
8976 token : ${{ secrets.CODECOV_TOKEN }}
90- slug : osociety/network_tools
9177 files : ./coverage/lcov.info
9278 flags : unittests
9379 name : codecov-umbrella
80+ fail_ci_if_error : true
9481 verbose : true
9582
9683 - name : Check Publish Warnings
Original file line number Diff line number Diff line change @@ -65,26 +65,14 @@ jobs:
6565 # Upload entire repository
6666 path : ' ./coverage/report'
6767
68- - name : Debug - Check Codecov repo API
69- run : |
70- echo "Checking Codecov API for osociety/network_tools"
71- http_code=$(curl -s -H "Authorization: token ${{ secrets.CODECOV_TOKEN }}" -w "%{http_code}" -o /tmp/codecov_resp.json https://codecov.io/api/gh/osociety/network_tools)
72- echo "HTTP status: $http_code"
73- if [ -s /tmp/codecov_resp.json ]; then
74- echo "Response snippet:"
75- head -n 20 /tmp/codecov_resp.json
76- else
77- echo "No response body saved"
78- fi
79-
8068 - name : Upload coverage to Codecov
81- uses : codecov/codecov-action@v3
69+ uses : codecov/codecov-action@v4
8270 with :
8371 token : ${{ secrets.CODECOV_TOKEN }}
84- slug : osociety/network_tools
8572 files : ./coverage/lcov.info
8673 flags : unittests
8774 name : codecov-umbrella
75+ fail_ci_if_error : true
8876 verbose : true
8977
9078 - name : Deploy to GitHub Pages
You can’t perform that action at this time.
0 commit comments