Merging upstream version 1.6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
adbb3a10cc
commit
6add9877e4
871 changed files with 8481 additions and 1502 deletions
29
.github/workflows/coverage.yml
vendored
29
.github/workflows/coverage.yml
vendored
|
@ -9,30 +9,13 @@ jobs:
|
|||
code-coverage:
|
||||
name: code coverage
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/igaw/linux-nvme/debian.python:latest
|
||||
steps:
|
||||
- name: install libraries
|
||||
run: sudo apt-get install libjson-c-dev libdbus-1-dev lcov
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- uses: BSFishy/meson-build@v1.0.3
|
||||
with:
|
||||
# Can't use 'coverage' here, see
|
||||
# https://github.com/BSFishy/meson-build/issues/4
|
||||
action: test
|
||||
options: --verbose
|
||||
setup-options: >
|
||||
--werror
|
||||
--buildtype=release
|
||||
--wrap-mode=nofallback
|
||||
-Dlibdbus=enabled
|
||||
-Db_coverage=true
|
||||
meson-version: 0.61.2
|
||||
- name: Generate Coverage Report
|
||||
# Can't use meson here, see
|
||||
# https://github.com/mesonbuild/meson/issues/7895
|
||||
run: ninja -C build coverage --verbose
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: |
|
||||
scripts/build.sh coverage
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
fail_ci_if_error: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue