Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Apr 21, 2023
1 parent a3eb071 commit 6635f9b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
39 changes: 36 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,11 @@ jobs:
- ember-lts-3.24
- ember-lts-3.28
- ember-release
- ember-beta
- ember-canary
- ember-default-with-jquery
- ember-classic
- embroider-safe
- embroider-optimized
- no-deprecations
- ember-release-no-deprecations

steps:
- uses: actions/checkout@v2
Expand All @@ -78,3 +75,39 @@ jobs:

- name: test
run: npx ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup

allow-fail-try-scenarios:
name: ${{ matrix.try-scenario }} - Allowed to fail
runs-on: ubuntu-latest
needs: 'test'

permissions:
pull-requests: write

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-canary
- ember-beta
- ember-release-no-deprecations

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 14.x
cache: npm
- run: npm i -g npm@8
- run: npm ci

- run: npm run build
- name: test
id: tests
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
continue-on-error: true
- uses: mainmatter/continue-on-error-comment@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
outcome: ${{ steps.tests.outcome }}
test-id: ${{ matrix.try-scenario }}
1 change: 1 addition & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = async function () {
npm: {
devDependencies: {
'ember-source': '~3.16.0',
'ember-maybe-in-element': '2.0.3',
},
},
},
Expand Down

0 comments on commit 6635f9b

Please sign in to comment.