ci: run coverage on in-house vm-backup pool
Coverage does not gate merges, so move it off the metered dsh-enterprise-ubuntu-24-04-32core-test pool onto the in-house self-hosted pool (vm-backup label, 64-core). Also switch the pnpm store cache path to ~ so it resolves under both /home/runner (hosted) and self-hosted home directories. Verified on the self-hosted pool: the full coverage job (including prepare-ci-bubblewrap and the exhaustive suite) completed green in ~5 min.
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -77,7 +77,9 @@ jobs:
|
|||||||
|
|
||||||
node-24-coverage:
|
node-24-coverage:
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
runs-on: dsh-enterprise-ubuntu-24-04-32core-test
|
# Coverage does not gate merges, so it runs on the in-house pool
|
||||||
|
# (self-hosted, 64-core) instead of the metered enterprise pool.
|
||||||
|
runs-on: [self-hosted, linux, x64, vm-backup]
|
||||||
name: node 24 / coverage
|
name: node 24 / coverage
|
||||||
env:
|
env:
|
||||||
DSH_COVERAGE_MAX_WORKERS: '24'
|
DSH_COVERAGE_MAX_WORKERS: '24'
|
||||||
@@ -89,7 +91,8 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: /home/runner/.local/share/pnpm/store/v11
|
# ~ resolves on both hosted (/home/runner) and self-hosted homes
|
||||||
|
path: ~/.local/share/pnpm/store/v11
|
||||||
key: ${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
key: ${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-${{ hashFiles('pnpm-lock.yaml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-
|
${{ runner.os }}-node-${{ env.PRIMARY_NODE_VERSION }}-pnpm-
|
||||||
|
|||||||
Reference in New Issue
Block a user