Skip to content

Commit e7f5d65

Browse files
chore: add all-checks gate job, run tests only on PR
1 parent 3a2b4b4 commit e7f5d65

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: ["master"]
88

99
jobs:
10-
test:
10+
unittests:
1111
name: ${{ matrix.name }}
1212
runs-on: ${{ matrix.os }}
1313
if: github.event_name == 'pull_request'
@@ -106,3 +106,11 @@ jobs:
106106
comment-on-alert: true
107107
alert-threshold: '150%'
108108
fail-on-alert: true
109+
110+
all-checks:
111+
name: all-checks
112+
runs-on: ubuntu-latest
113+
if: github.event_name == 'pull_request'
114+
needs: unittests
115+
steps:
116+
- run: echo "All checks passed"

0 commit comments

Comments
 (0)