From bf675e471fead142136d58e63857a4d0c385df91 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 22 Feb 2023 12:18:12 +0100 Subject: [PATCH] Switched to general `linux` CI runner label - turns out our concurrency on these 8 core machines is only 10 jobs, so everything is running really slowly - by opening up to `linux`, we allow executions on 4, 8 and 16 core machines with a total concurrency of 30 --- .github/workflows/test.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 96e7249fcb..d539fe5f01 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true jobs: lint: - runs-on: ubuntu-latest-8-cores + runs-on: linux if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) name: Lint steps: @@ -36,7 +36,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} admin-tests: - runs-on: ubuntu-latest-8-cores + runs-on: linux if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) strategy: matrix: @@ -75,7 +75,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} migrations: - runs-on: ubuntu-latest-8-cores + runs-on: linux defaults: run: working-directory: ghost/core @@ -139,7 +139,7 @@ jobs: - run: yarn knex-migrator migrate --force unit-tests: - runs-on: ubuntu-latest-8-cores + runs-on: linux if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) strategy: matrix: @@ -171,7 +171,7 @@ jobs: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} database-tests: - runs-on: ubuntu-latest-8-cores + runs-on: linux defaults: run: working-directory: ghost/core @@ -279,7 +279,7 @@ jobs: ghost-cli: name: Ghost-CLI if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) - runs-on: ubuntu-latest-8-cores + runs-on: linux steps: - uses: actions/checkout@v3 with: @@ -338,7 +338,7 @@ jobs: coverage: name: Coverage needs: [unit-tests, admin-tests] - runs-on: ubuntu-latest-8-cores + runs-on: linux steps: - uses: actions/checkout@v2 - name: Restore coverage