From 68f6777253715d883afa49160c8806a41bf7901c Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 3 Nov 2023 12:21:42 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 38 +++++++++++++++++++++++++++++--------- 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d399fae5..07e7e2cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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