-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: move on to the new coverage uploader
Move on to the new coverage uploader. The old bash uploader is long EOL now. See: pmem/pmdk#5548
- Loading branch information
Showing
9 changed files
with
52 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# | ||
# Builds run on every pull request and every push to the repo. | ||
# | ||
|
||
name: CodeCoverage | ||
on: [push, pull_request] | ||
|
||
env: | ||
GITHUB_REPO: pmem/rpma | ||
# use GitHub Container Registry as a repository of docker images | ||
GH_CR_ADDR: ghcr.io | ||
DOCKER_REPO: ghcr.io/pmem/rpma | ||
# use org's Private Access Token to log in to GitHub Container Registry | ||
GH_CR_USER: ${{ secrets.GH_CR_USER }} | ||
GH_CR_PAT: ${{ secrets.GH_CR_PAT }} | ||
HOST_WORKDIR: /home/runner/work/rpma/rpma | ||
WORKDIR: utils/docker | ||
TYPE: normal | ||
OS: ubuntu | ||
OS_VER: latest-with-rdma-core-45 | ||
CC: gcc | ||
TESTS_COVERAGE: 1 | ||
|
||
jobs: | ||
linux: | ||
name: Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone the git repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Pull or rebuild the image | ||
run: cd $WORKDIR && ./pull-or-rebuild-image.sh | ||
|
||
- name: Run the build | ||
run: cd $WORKDIR && ./build.sh | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
gcov: true | ||
root_dir: /home/runner/work/rpma/ | ||
working-directory: /home/runner/work/rpma/ | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
utils/docker/images/0001-fix-generating-gcov-files-and-turn-off-verbose-log.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters