tune(ci): use self hosted runners only for system tests
This commit is contained in:
parent
9b3f95bdbb
commit
dd15479847
1 changed files with 5 additions and 10 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
|||
jobs:
|
||||
linters:
|
||||
name: Linters
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
image: postgis/postgis:14-3.3
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
|||
|
||||
js_tests:
|
||||
name: JavaScript tests
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -41,12 +41,7 @@ jobs:
|
|||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.node-version'
|
||||
|
||||
- name: Install yarn
|
||||
run: |
|
||||
npm install --global yarn
|
||||
shell: bash
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install Node modules
|
||||
run: |
|
||||
|
@ -60,7 +55,7 @@ jobs:
|
|||
|
||||
unit_tests:
|
||||
name: Unit tests
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
services:
|
||||
postgres:
|
||||
image: postgis/postgis:14-3.3
|
||||
|
@ -148,7 +143,7 @@ jobs:
|
|||
save_test_reports:
|
||||
name: Save test reports
|
||||
needs: [unit_tests, system_tests]
|
||||
runs-on: self-hosted
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
Loading…
Reference in a new issue