zdtm/static: test the offset migration of ELF files #39
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
name: Coverage Tests | |
on: [push, pull_request] | |
# Cancel any preceding run on the pull request. | |
concurrency: | |
group: gcov-test-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }} | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- 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 |