mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
ci: replace deprecated codecov bash uploader
Replace deprecated codecov bash uploader with new version: https://about.codecov.io/blog/introducing-codecovs-new-uploader/ Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
c1659c386d
commit
d17eb325c6
2 changed files with 5 additions and 1 deletions
2
.github/workflows/gcov-test.yml
vendored
2
.github/workflows/gcov-test.yml
vendored
|
|
@ -10,5 +10,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- name: Run Coverage Tests
|
||||
run: sudo -E make -C scripts/ci local GCOV=1
|
||||
- name: Run gcov
|
||||
run: sudo -E find . -name '*gcda' -type f -print0 | sudo -E xargs --null --max-args 128 --max-procs 4 gcov
|
||||
- name: Run Coverage Analysis
|
||||
run: sudo -E make codecov
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -439,7 +439,9 @@ lint:
|
|||
|
||||
codecov: SHELL := $(shell which bash)
|
||||
codecov:
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
curl -Os https://uploader.codecov.io/latest/linux/codecov
|
||||
chmod +x codecov
|
||||
./codecov
|
||||
.PHONY: codecov
|
||||
|
||||
fetch-clang-format: .FORCE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue