mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 13:28:27 +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
.github/workflows/gcov-test.yml
vendored
2
.github/workflows/gcov-test.yml
vendored
@ -10,5 +10,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Run Coverage Tests
|
- name: Run Coverage Tests
|
||||||
run: sudo -E make -C scripts/ci local GCOV=1
|
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
|
- name: Run Coverage Analysis
|
||||||
run: sudo -E make codecov
|
run: sudo -E make codecov
|
||||||
|
4
Makefile
4
Makefile
@ -439,7 +439,9 @@ lint:
|
|||||||
|
|
||||||
codecov: SHELL := $(shell which bash)
|
codecov: SHELL := $(shell which bash)
|
||||||
codecov:
|
codecov:
|
||||||
bash <(curl -s https://codecov.io/bash)
|
curl -Os https://uploader.codecov.io/latest/linux/codecov
|
||||||
|
chmod +x codecov
|
||||||
|
./codecov
|
||||||
.PHONY: codecov
|
.PHONY: codecov
|
||||||
|
|
||||||
fetch-clang-format: .FORCE
|
fetch-clang-format: .FORCE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user