summaryrefslogtreecommitdiff
path: root/.github/workflows/nonative.yml
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-06-07 13:00:59 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2021-06-22 21:05:11 +0300
commit765aff5a42d9b7568bbd89f711d52c2da346e91c (patch)
tree11e3b60053d4f5061f3b970dccc4a9b91e313770 /.github/workflows/nonative.yml
parentedfe24178d86450a8184bd139e03c5cdcad91100 (diff)
downloadmeson-765aff5a42d9b7568bbd89f711d52c2da346e91c.tar.gz
coverage: Enable coverage reports
Diffstat (limited to '.github/workflows/nonative.yml')
-rw-r--r--.github/workflows/nonative.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml
index 1fc43b4cc..c4bad9531 100644
--- a/.github/workflows/nonative.yml
+++ b/.github/workflows/nonative.yml
@@ -26,6 +26,9 @@ jobs:
- run: |
apt-get -y purge clang gcc gdc
apt-get -y autoremove
+ python3 -m pip install coverage codecov
- uses: actions/checkout@v2
- name: Run tests
- run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only'
+ run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only'
+ - name: Upload coverage report
+ run: ./ci/upload_cov.sh "Ubuntu nonnative"