Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 3, 2023
1 parent e58f1ba commit 68f6777
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,12 @@ jobs:
# waiting on a an api from vitest for querying
# the list of tests ahead of time before running them.
#
# https://github.com/vitest-dev/vitest/issues/2901
#
# It would be great if vitest had a flag to give us the JSON of all the tests,
# so we could be sure we don't miss anything
# and then generate this list from a previous C.I. job
slow-test:
- defaults with npm
- defaults with yarn
- defaults with pnpm

# TypeScript
- typescript with npm
- typescript with yarn
- typescript with pnpm

# flags
- addon-location
- test-app-location
Expand All @@ -75,3 +68,30 @@ jobs:
- run: pnpm add --global ember-cli yarn
- run: pnpm vitest --testNamePattern "${{ matrix.slow-test }}"
working-directory: tests


defaults_tests:
name: Defaults w/ ember-cli@${{ matrix.ember-cli }}
timeout-minutes: 5
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ember-cli:
- latest
- 5.3.0

slow-test:
- defaults with npm
- defaults with yarn
- defaults with pnpm

- typescript with npm
- typescript with yarn
- typescript with pnpm
steps:
- uses: actions/checkout@v3
- uses: wyvox/action-setup-pnpm@v2
- run: pnpm add --global ember-cli@${{ matrix.ember-cli }} yarn
- run: pnpm vitest --testNamePattern "${{ matrix.slow-test }}"
working-directory: tests

0 comments on commit 68f6777

Please sign in to comment.