diff options
| author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-06-07 13:00:59 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-06-22 21:05:11 +0300 |
| commit | 765aff5a42d9b7568bbd89f711d52c2da346e91c (patch) | |
| tree | 11e3b60053d4f5061f3b970dccc4a9b91e313770 /.github/workflows/os_comp.yml | |
| parent | edfe24178d86450a8184bd139e03c5cdcad91100 (diff) | |
| download | meson-765aff5a42d9b7568bbd89f711d52c2da346e91c.tar.gz | |
coverage: Enable coverage reports
Diffstat (limited to '.github/workflows/os_comp.yml')
| -rw-r--r-- | .github/workflows/os_comp.yml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index 5b491426c..94d1b01ca 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -40,7 +40,9 @@ jobs: # All environment variables are stored inside the docker image in /ci/env_vars.sh # They are defined in the `env` section in each image.json. CI_ARGS should be set # via the `args` array ub the image.json - run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py $CI_ARGS' + run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS' + - name: Upload coverage report + run: ./ci/upload_cov.sh "OS Comp [${{ matrix.cfg.name }}]" ubuntu-rolling: name: 'Ubuntu Rolling' @@ -106,4 +108,7 @@ jobs: update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix - ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS + ./tools/run_with_cov.py ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS + + - name: Upload coverage report + run: ./ci/upload_cov.sh "Ubuntu [${{ matrix.cfg.CC }} ${{ matrix.cfg.RUN_TESTS_ARGS }} ${{ matrix.cfg.MESON_ARGS }}]" |
