Skip to content

Commit

Permalink
Update regression_test.yml (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
bo-ms authored Nov 17, 2023
1 parent 0e6fdbf commit 94dcd14
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/regression_test.yml
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 ]

Expand Down Expand Up @@ -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]

Expand All @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 94dcd14

Please sign in to comment.