Skip to content

Commit

Permalink
Merge pull request cri-o#8127 from saschagrunert/codecov-action
Browse files Browse the repository at this point in the history
Use `codecov/codecov-action` to fix coverage report
  • Loading branch information
openshift-merge-bot[bot] committed May 6, 2024
2 parents cb8bb35 + aefd7ac commit 60168a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,12 @@ jobs:
with:
name: unit-amd64
path: build/coverage
- run: make codecov
- uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # v4.3.1
with:
files: build/coverage/coverprofile
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

release-notes:
permissions:
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -392,10 +392,6 @@ mock-ociartifact-types: ${MOCKGEN}
-destination ${MOCK_PATH}/ociartifact/ociartifact.go \
github.com/cri-o/cri-o/internal/config/ociartifact Impl

codecov: SHELL := $(shell which bash)
codecov:
bash <(curl -s https://codecov.io/bash) -f ${COVERAGE_PATH}/coverprofile

localintegration: clean binaries test-binaries
./test/test_runner.sh ${TESTFLAGS}

Expand Down

0 comments on commit 60168a9

Please sign in to comment.