Skip to content

Commit

Permalink
test: fixing compatibility tests (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkusa authored Aug 22, 2023
1 parent e8ba563 commit 6339bc5
Show file tree
Hide file tree
Showing 4 changed files with 224 additions and 261 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

jobs:
test:
name: "Tests"
name: 'Tests'
runs-on: ubuntu-latest
timeout-minutes: 10

Expand All @@ -22,7 +22,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: npm
- name: Install Dependencies
run: npm ci
Expand All @@ -32,15 +32,15 @@ jobs:
run: npm run test:ember

floating:
name: "Floating Dependencies"
name: 'Floating Dependencies'
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: npm
- name: Install Dependencies
run: npm install --no-shrinkwrap
Expand All @@ -50,15 +50,17 @@ jobs:
try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: "test"
needs: 'test'
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.24
- ember-lts-3.28
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-release
- ember-beta
- ember-canary
Expand All @@ -71,7 +73,7 @@ jobs:
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
cache: npm
- name: Install Dependencies
run: npm ci
Expand Down
31 changes: 27 additions & 4 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,38 @@ module.exports = async function () {
return {
scenarios: [
{
name: 'ember-lts-3.24',
name: 'ember-lts-3.28',
npm: {
devDependencies: {
'ember-source': '~3.24.3',
'ember-resolver': '^8.0.0',
'ember-source': '~3.28.0',
'@ember/test-helpers': '^2.9.3',
'ember-qunit': '^6.2.0',
},
},
},
{
name: 'ember-lts-3.28',
name: 'ember-lts-4.4',
npm: {
devDependencies: {
'ember-source': '~3.28.0',
'ember-resolver': '^8.0.0',
'ember-source': '~4.4.0',
},
},
},
{
name: 'ember-lts-4.8',
npm: {
devDependencies: {
'ember-source': '~4.8.0',
},
},
},
{
name: 'ember-lts-4.12',
npm: {
devDependencies: {
'ember-source': '~4.12.0',
},
},
},
Expand Down Expand Up @@ -57,7 +77,10 @@ module.exports = async function () {
},
npm: {
devDependencies: {
'ember-resolver': '^8.0.0',
'ember-source': '~3.28.0',
'@ember/test-helpers': '^2.9.3',
'ember-qunit': '^6.2.0',
},
ember: {
edition: 'classic',
Expand Down
Loading

0 comments on commit 6339bc5

Please sign in to comment.