aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/nonnative.yml
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2023-04-14 14:12:35 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2023-04-21 13:30:45 +0530
commitc0c9f755a40a51889e73275578cb49296de84e43 (patch)
tree94f9e6272b8cbe2faf6f8ee70231b7968ec59d87 /.github/workflows/nonnative.yml
parent5eb55075baa2883170a3d0cf3c0621aae56a1632 (diff)
downloadmeson-c0c9f755a40a51889e73275578cb49296de84e43.zip
meson-c0c9f755a40a51889e73275578cb49296de84e43.tar.gz
meson-c0c9f755a40a51889e73275578cb49296de84e43.tar.bz2
ci: Move to the codecov github action
The pypi package was suddenly removed. Not the most confidence-inspiring deprecation/migration: https://about.codecov.io/blog/message-regarding-the-pypi-package/
Diffstat (limited to '.github/workflows/nonnative.yml')
-rw-r--r--.github/workflows/nonnative.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/nonnative.yml b/.github/workflows/nonnative.yml
index 2848fe6..8a4cb8e 100644
--- a/.github/workflows/nonnative.yml
+++ b/.github/workflows/nonnative.yml
@@ -36,9 +36,18 @@ jobs:
- run: |
apt-get -y purge clang gcc gdc
apt-get -y autoremove
- python3 -m pip install coverage codecov
+ python3 -m pip install coverage
- uses: actions/checkout@v3
- name: Run tests
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: Aggregate coverage reports
+ run: ./ci/combine_cov.sh
+
- name: Upload coverage report
- run: ./ci/upload_cov.sh "Ubuntu nonnative"
+ uses: codecov/codecov-action@v3
+ with:
+ files: .coverage/coverage.xml
+ name: "Ubuntu nonnative"
+ fail_ci_if_error: true
+ verbose: true