Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split out the tests into a matrix so its easier to see which test app… #188

Merged
merged 2 commits into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,39 @@ jobs:
- run: pnpm lint

test:
name: 'Tests'
name: 'Test ${{ matrix.dir }}'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dir:
- "ember-scoped-css"
- "test-apps/classic-app"
- "test-apps/embroider-app"
- "test-apps/pods-embroider-app"
- "test-apps/pods-classic-app"

steps:
- uses: wyvox/action@v1
with:
node-version: 18.17
- run: pnpm build
- run: pnpm test
working-directory: ${{ matrix.dir }}

floating:
name: 'Floating Dependencies'
name: 'Floating ${{ matrix.dir }}'
runs-on: ubuntu-latest
needs: 'test'
strategy:
fail-fast: false
matrix:
dir:
- "ember-scoped-css"
- "test-apps/classic-app"
- "test-apps/embroider-app"
- "test-apps/pods-embroider-app"
- "test-apps/pods-classic-app"

steps:
- uses: wyvox/action@v1
Expand All @@ -46,6 +66,8 @@ jobs:
- run: pnpm build
- name: Run Tests
run: pnpm test
working-directory: ${{ matrix.dir }}


try-scenarios:
name: ${{ matrix.try-scenario }}
Expand Down
Loading