Skip to content
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

Update regression_test.yml #71

Merged
merged 4 commits into from
Nov 17, 2023
Merged
Changes from all commits
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
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
Loading