Skip to content

Commit c0ec8a1

Browse files
committed
test-app boilerplate
1 parent 7fc0386 commit c0ec8a1

40 files changed

+5076
-2719
lines changed

.github/workflows/ci.yml

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- uses: wyvox/action-setup-pnpm@v3
2121
- run: pnpm lint
2222

23-
test:
24-
name: "Tests"
23+
test_old:
24+
name: "Old: Tests"
2525
runs-on: ubuntu-latest
2626
timeout-minutes: 12
2727

@@ -35,10 +35,22 @@ jobs:
3535
with:
3636
timeout_minutes: 2
3737
max_attempts: 5
38-
command: pnpm test:ci
38+
command: pnpm test:ci
3939

40-
floating:
41-
name: "Floating Dependencies"
40+
test:
41+
name: "Tests"
42+
runs-on: ubuntu-latest
43+
timeout-minutes: 12
44+
45+
steps:
46+
- uses: actions/checkout@v4
47+
- uses: wyvox/action-setup-pnpm@v3
48+
- run: pnpm test
49+
working-directory: test-app
50+
51+
# TODO: Delete when tests are moved to test app
52+
floating_old:
53+
name: "Old: Floating Dependencies"
4254
runs-on: ubuntu-latest
4355
timeout-minutes: 12
4456

@@ -56,8 +68,21 @@ jobs:
5668
max_attempts: 5
5769
command: cd vertical-collection && CI=true pnpm ember test --path=dist
5870

59-
try-scenarios:
60-
name: ${{ matrix.try-scenario }}
71+
floating:
72+
name: "Floating Dependencies"
73+
runs-on: ubuntu-latest
74+
timeout-minutes: 12
75+
76+
steps:
77+
- uses: actions/checkout@v4
78+
- uses: wyvox/action-setup-pnpm@v3
79+
with:
80+
args: --no-lockfile
81+
- run: pnpm test
82+
working-directory: test-app
83+
84+
try-scenarios_old:
85+
name: "Old: ${{ matrix.try-scenario }}"
6186
runs-on: ubuntu-latest
6287
timeout-minutes: 12
6388

@@ -89,4 +114,29 @@ jobs:
89114
with:
90115
timeout_minutes: 2
91116
max_attempts: 5
92-
command: pnpm test:ci
117+
command: pnpm test:ci
118+
119+
try-scenarios:
120+
name: ${{ matrix.try-scenario }}
121+
runs-on: ubuntu-latest
122+
timeout-minutes: 12
123+
124+
strategy:
125+
fail-fast: false
126+
matrix:
127+
try-scenario:
128+
- ember-lts-3.28
129+
- ember-lts-4.12
130+
- ember-lts-5.12
131+
- ember-lts-6.4
132+
- ember-lts-6.8
133+
- ember-release
134+
- ember-beta
135+
- ember-canary
136+
137+
steps:
138+
- uses: actions/checkout@v4
139+
- uses: wyvox/action-setup-pnpm@v3
140+
- name: Ember-Try Setup
141+
run: node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup --- pnpm test
142+
working-directory: test-app

0 commit comments

Comments
 (0)