Skip to content

Add code coverage #1561

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Sep 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update meson.yml
  • Loading branch information
baylesj authored Sep 10, 2024
commit 9afb67dc2f93093b0254fb65d9201431a494c5c2
26 changes: 24 additions & 2 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: checkout repository
uses: actions/checkout@v4

- name: setup python
uses: actions/setup-python@v5

- name: meson build
uses: BSFishy/meson-build@v1.0.3
with:
meson-version: 1.5.1
ninja-version: 1.11.1.1
action: build

- name: meson test
uses: BSFishy/meson-build@v1.0.3
with:
meson-version: 1.5.1
ninja-version: 1.11.1.1
action: test

coverage:
runs-on: ubuntu-latest

steps:
- name: checkout repository
uses: actions/checkout@v4
Expand All @@ -24,7 +48,6 @@ jobs:
meson-version: 1.5.1
ninja-version: 1.11.1.1
setup-options: -Db_coverage=true
options: --verbose
action: build

- name: meson test
Expand All @@ -33,7 +56,6 @@ jobs:
meson-version: 1.5.1
ninja-version: 1.11.1.1
setup-options: -Db_coverage=true
options: --verbose
action: test

- name: generate code coverage report
Expand Down