Skip to content

Commit 7b55b3f

Browse files
committed
allow canary and release-no-deprecations to fail
1 parent 6157398 commit 7b55b3f

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,33 @@ jobs:
7272
- ember-lts-3.28
7373
- ember-release
7474
- ember-beta
75-
- ember-canary
7675
- ember-classic
7776
- ember-default-with-jquery
7877
- embroider-safe
7978
- embroider-optimized
8079
- no-deprecations
80+
81+
steps:
82+
- uses: actions/checkout@v2
83+
- uses: actions/setup-node@v3
84+
with:
85+
node-version: 14.x
86+
cache: npm
87+
- run: npm i -g npm@8
88+
- run: npm ci
89+
- name: Run Tests
90+
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
91+
92+
allow-fail-try-scenarios:
93+
name: ${{ matrix.try-scenario }} - Allowed to fail
94+
runs-on: ubuntu-latest
95+
needs: 'test'
96+
97+
strategy:
98+
fail-fast: false
99+
matrix:
100+
try-scenario:
101+
- ember-canary
81102
- ember-release-no-deprecations
82103

83104
steps:
@@ -89,4 +110,11 @@ jobs:
89110
- run: npm i -g npm@8
90111
- run: npm ci
91112
- name: Run Tests
113+
id: tests
92114
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
115+
continue-on-error: true
116+
- uses: mainmatter/continue-on-error-comment@v1
117+
with:
118+
repo-token: ${{ secrets.GITHUB_TOKEN }}
119+
outcome: ${{ steps.tests.outcome }}
120+
test-id: ${{ matrix.try-scenario }}

0 commit comments

Comments
 (0)