ci: speedup windows integrations tests (#14485)
- Avoid cross-device copying in Windows CI by setting the tests dir to the same drive as the workspace. - Disable LTO and use a faster linker for the Rust build Buid: ~3min -> ~2min Integration Tests: ~8min -> ~3min20s
This commit is contained in:
parent
0daaaebc5e
commit
bca04dfe00
2 changed files with 8 additions and 2 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -57,6 +57,9 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: pnpm run build
|
||||
env:
|
||||
CARGO_PROFILE_RELEASE_LTO: 'off'
|
||||
CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKER: 'lld-link'
|
||||
|
||||
- name: Lint
|
||||
run: pnpm run lint
|
||||
|
|
@ -68,6 +71,8 @@ jobs:
|
|||
|
||||
- name: Integration Tests
|
||||
run: pnpm run test:integrations
|
||||
env:
|
||||
GITHUB_WORKSPACE: ${{ github.workspace }}
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install --with-deps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue