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/cygwin.yml | |
| parent | edfe24178d86450a8184bd139e03c5cdcad91100 (diff) | |
| download | meson-765aff5a42d9b7568bbd89f711d52c2da346e91c.tar.gz | |
coverage: Enable coverage reports
Diffstat (limited to '.github/workflows/cygwin.yml')
| -rw-r--r-- | .github/workflows/cygwin.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 32d33d869..39540941c 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -68,13 +68,13 @@ jobs: - name: Run pip run: | export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32 - python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-xdist + python3 -m pip --disable-pip-version-check install gcovr jsonschema pefile pytest pytest-xdist coverage codecov shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}' - name: Run tests run: | export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32 - python3 run_tests.py --backend=ninja + python3 ./tools/run_with_cov.py run_tests.py --backend=ninja env: # Cygwin's static boost installation is broken (some static library # variants such as boost_thread are not present) @@ -87,3 +87,6 @@ jobs: path: meson-test-run.* # test log should be saved on failure if: ${{ !cancelled() }} + + - name: Upload coverage report + run: ./ci/upload_cov.sh "${{ matrix.NAME }}" |
