-
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.
change ci to include smoke_test commit message trigger
- Loading branch information
nick
authored and
nick
committed
Nov 7, 2023
1 parent
c10ba3c
commit a0d02ae
Showing
1 changed file
with
9 additions
and
22 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,24 +1,11 @@ | ||
on: issue_comment | ||
name: Smoke tests | ||
on: push | ||
|
||
jobs: | ||
pr_commented: | ||
# This job only runs for pull request comments | ||
name: PR comment | ||
if: ${{ github.event.issue.pull_request }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo A comment on PR $NUMBER | ||
env: | ||
NUMBER: ${{ github.event.issue.number }} | ||
issue_commented: | ||
# This job only runs for issue comments | ||
name: Issue comment | ||
if: ${{ !github.event.issue.pull_request }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo A comment on issue $NUMBER | ||
env: | ||
NUMBER: ${{ github.event.issue.number }} | ||
test: | ||
runs-on: [ ubuntu-latest ] | ||
steps: | ||
- name: Run smoke tests | ||
if: contains(github.event.head_commit.message, 'smoke_test') | ||
run: | | ||
echo 'Running smoke tests!' |