summaryrefslogtreecommitdiff
path: root/.github/workflows/os_comp.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/os_comp.yml
parent5eb55075baa2883170a3d0cf3c0621aae56a1632 (diff)
downloadmeson-c0c9f755a40a51889e73275578cb49296de84e43.tar.gz
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/os_comp.yml')
-rw-r--r--.github/workflows/os_comp.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml
index bbaff85b5..46cbf0df6 100644
--- a/.github/workflows/os_comp.yml
+++ b/.github/workflows/os_comp.yml
@@ -53,8 +53,17 @@ jobs:
# 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; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS'
+
+ - name: Aggregate coverage reports
+ run: ./ci/combine_cov.sh
+
- name: Upload coverage report
- run: ./ci/upload_cov.sh "OS Comp [${{ matrix.cfg.name }}]"
+ uses: codecov/codecov-action@v3
+ with:
+ files: .coverage/coverage.xml
+ name: "OS Comp [${{ matrix.cfg.name }}]"
+ fail_ci_if_error: true
+ verbose: true
pypy:
name: 'Arch / PyPy'
@@ -145,5 +154,13 @@ jobs:
./tools/run_with_cov.py ./run_tests.py $RUN_TESTS_ARGS -- $MESON_ARGS
+ - name: Aggregate coverage reports
+ run: ./ci/combine_cov.sh
+
- name: Upload coverage report
- run: ./ci/upload_cov.sh "Ubuntu [${{ matrix.cfg.CC }} ${{ matrix.cfg.RUN_TESTS_ARGS }} ${{ matrix.cfg.MESON_ARGS }}]"
+ uses: codecov/codecov-action@v3
+ with:
+ files: .coverage/coverage.xml
+ name: "Ubuntu [${{ matrix.cfg.CC }} ${{ matrix.cfg.RUN_TESTS_ARGS }} ${{ matrix.cfg.MESON_ARGS }}]"
+ fail_ci_if_error: true
+ verbose: true