forked from threeal/gcovr-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from niwciu/develop
html-out and html-theme inputs added
- Loading branch information
Showing
6 changed files
with
1,566 additions
and
1,475 deletions.
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 |
---|---|---|
|
@@ -120,6 +120,54 @@ jobs: | |
sample/include/is_odd.hpp | ||
fail-under-line: 100 | ||
|
||
html-out-usage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Build Sample Project | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: sample | ||
|
||
- name: Test Sample Project | ||
uses: threeal/[email protected] | ||
with: | ||
test-dir: sample/build | ||
|
||
- name: Use this action to generate an HTML report | ||
uses: ./ | ||
with: | ||
html-out: coverage.html | ||
|
||
- name: Check if that HTML report does exist | ||
run: cat coverage.html | ||
|
||
html-theme-usage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Build Sample Project | ||
uses: threeal/[email protected] | ||
with: | ||
source-dir: sample | ||
|
||
- name: Test Sample Project | ||
uses: threeal/[email protected] | ||
with: | ||
test-dir: sample/build | ||
|
||
- name: Use this action to generate an HTML report | ||
uses: ./ | ||
with: | ||
html-out: coverage.html | ||
html-theme: github.dark-blue | ||
|
||
- name: Check if that HTML report does exist | ||
run: cat coverage.html | ||
xml-out-usage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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
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
Oops, something went wrong.