-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 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 |
---|---|---|
@@ -1,11 +1,13 @@ | ||
# This is a basic workflow that is manually triggered | ||
|
||
name: regression_test | ||
name: GUIX Regression Test | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
workflow_dispatch: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
|
@@ -70,6 +72,7 @@ jobs: | |
path: ./test/guix_test/cmake/coverage_report/default_build_coverage | ||
|
||
- name: Deploy GitHub Pages site | ||
if: github.event_name == 'push' | ||
id: deployment | ||
uses: actions/[email protected] | ||
|
||
|
@@ -91,6 +94,7 @@ jobs: | |
cat code-coverage-summary.md >> $GITHUB_STEP_SUMMARY | ||
- name: Create CheckRun for Code Coverage | ||
if: github.event_name == 'push' | ||
uses: LouisBrunner/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -101,8 +105,8 @@ jobs: | |
output_text_description_file: code-coverage-summary.md | ||
|
||
- name: Add Code Coverage PR Comment | ||
if: github.event_name == 'push' | ||
uses: marocchino/sticky-pull-request-comment@v2 | ||
if: github.event_name == 'pull_request' | ||
with: | ||
append: true | ||
path: code-coverage-summary.md | ||
|