-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add code coverage * Update meson.yml * Update meson.yml * Update meson.yml * Update meson.yml * Update meson.yml * Update meson.yml * Update meson.yml
- Loading branch information
Showing
1 changed file
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: meson build and test | ||
run-name: update pushed to ${{ github.ref }} | ||
on: [check_run, pull_request, push] | ||
on: [check_run, push] | ||
|
||
jobs: | ||
publish: | ||
|
@@ -31,3 +31,35 @@ jobs: | |
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 | ||
|
||
- name: setup python | ||
uses: actions/setup-python@v5 | ||
|
||
- name: meson build | ||
uses: BSFishy/[email protected] | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
setup-options: -Db_coverage=true | ||
action: build | ||
|
||
- name: meson test | ||
uses: BSFishy/[email protected] | ||
with: | ||
meson-version: 1.5.1 | ||
ninja-version: 1.11.1.1 | ||
setup-options: -Db_coverage=true | ||
action: test | ||
|
||
- name: generate code coverage report | ||
uses: threeal/[email protected] | ||
with: | ||
coveralls-send: true | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |