mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
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
This commit is contained in:
parent
2d1f9fff0c
commit
bf675e471f
1 changed files with 7 additions and 7 deletions
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -15,7 +15,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
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/'))
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||||
name: Lint
|
name: Lint
|
||||||
steps:
|
steps:
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
|
||||||
admin-tests:
|
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/'))
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -75,7 +75,7 @@ jobs:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
|
||||||
migrations:
|
migrations:
|
||||||
runs-on: ubuntu-latest-8-cores
|
runs-on: linux
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ghost/core
|
working-directory: ghost/core
|
||||||
|
@ -139,7 +139,7 @@ jobs:
|
||||||
- run: yarn knex-migrator migrate --force
|
- run: yarn knex-migrator migrate --force
|
||||||
|
|
||||||
unit-tests:
|
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/'))
|
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -171,7 +171,7 @@ jobs:
|
||||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||||
|
|
||||||
database-tests:
|
database-tests:
|
||||||
runs-on: ubuntu-latest-8-cores
|
runs-on: linux
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ghost/core
|
working-directory: ghost/core
|
||||||
|
@ -279,7 +279,7 @@ jobs:
|
||||||
ghost-cli:
|
ghost-cli:
|
||||||
name: Ghost-CLI
|
name: Ghost-CLI
|
||||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
@ -338,7 +338,7 @@ jobs:
|
||||||
coverage:
|
coverage:
|
||||||
name: Coverage
|
name: Coverage
|
||||||
needs: [unit-tests, admin-tests]
|
needs: [unit-tests, admin-tests]
|
||||||
runs-on: ubuntu-latest-8-cores
|
runs-on: linux
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Restore coverage
|
- name: Restore coverage
|
||||||
|
|
Loading…
Reference in a new issue