Skip to content

Commit

Permalink
fix(ci): speed up windows test
Browse files Browse the repository at this point in the history
move firefox to ubuntu runner
  • Loading branch information
wmertens committed Jul 17, 2024
1 parent bb0cec1 commit 9986fb2
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ jobs:
id: cache-insights
uses: actions/cache/restore@v4
with:
path: packages/qwik-insights/dist
path: |
packages/insights/dist
packages/insights/.netlify
key: ${{ hashfiles('pnpm-lock.yaml', 'packages/qwik/**/*', 'rust-toolchain', '**/Cargo.toml', '**/Cargo.lock', '**/*.rs', 'packages/qwik-city/**/*', 'packages/qwik-labs/**/*', 'packages/qwik-insights/**/*') }}

############ BUILD Qwik ############
Expand Down Expand Up @@ -448,7 +450,9 @@ jobs:
uses: actions/cache/save@v4
with:
key: ${{ needs.changes.outputs.hash-insights }}
path: packages/qwik-insights/dist
path: |
packages/insights/dist
packages/insights/.netlify
############ BUILD DOCS ############
build-docs:
Expand Down Expand Up @@ -585,10 +589,12 @@ jobs:
settings:
- host: ubuntu-latest
browser: chromium
- host: ubuntu-latest
browser: firefox
- host: macos-latest
browser: webkit
- host: windows-latest
browser: firefox
browser: chromium

runs-on: ${{ matrix.settings.host }}

Expand Down Expand Up @@ -625,7 +631,7 @@ jobs:
run: npx playwright install ${{ matrix.settings.browser }} --with-deps

- name: Playwright E2E Tests
run: pnpm run test.e2e.${{ matrix.settings.browser }} --timeout 60000 --retries 3 --workers 1
run: pnpm run test.e2e.${{ matrix.settings.browser }} --timeout 60000 --retries 7 --workers 1

- name: Validate Create Qwik Cli
run: pnpm cli.validate
Expand Down

0 comments on commit 9986fb2

Please sign in to comment.