mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: use a smaller runner for e2e test (#15034)
We run our e2e-tests on a 16-core machine with `--max-workers=1` Using a standard runner with 2 cores, the machine runs the tests in the same amount of time while reducing the cost 8 times. Update: `test-e2e` fails on the 2core-8GB runner, so using a 4-core-16GB runner for that.
This commit is contained in:
committed by
GitHub
parent
191449078c
commit
20b3f8fbf3
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -499,7 +499,8 @@ jobs:
|
||||
working-directory: site
|
||||
|
||||
test-e2e:
|
||||
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ github.repository_owner == 'coder' && (matrix.variant.enterprise && 'depot-ubuntu-22.04' || 'depot-ubuntu-22.04-4') || 'ubuntu-latest' }}
|
||||
# test-e2e fails on 2-core 8GB runners, so we use the 4-core 16GB runner
|
||||
needs: changes
|
||||
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ts == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
|
||||
timeout-minutes: 20
|
||||
|
Reference in New Issue
Block a user