mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +00:00
scope env vars
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
ab3489fba6
commit
f132bc1886
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@ -5,10 +5,6 @@ on:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.codecov }}
|
||||
STRAPI_LICENSE: ${{ secrets.strapiLicense }}
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: 'lint (node: ${{ matrix.node }})'
|
||||
@ -30,6 +26,8 @@ jobs:
|
||||
name: 'unit_back (node: ${{ matrix.node }})'
|
||||
needs: [lint]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.codecov }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -49,6 +47,8 @@ jobs:
|
||||
name: 'unit_front (node: ${{ matrix.node }})'
|
||||
needs: [lint]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CODECOV_TOKEN: ${{ secrets.codecov }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -206,6 +206,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, unit_back, unit_front]
|
||||
name: '[EE] E2E (pg:${{ matrix.postgres }} node: ${{ matrix.node }})'
|
||||
env:
|
||||
STRAPI_LICENSE: ${{ secrets.strapiLicense }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -244,11 +246,14 @@ jobs:
|
||||
run: |
|
||||
yarn run -s test:start-app & wait-on http://localhost:1337
|
||||
yarn run -s test:e2e
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
e2e_ee_mysql:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, unit_back, unit_front]
|
||||
name: '[EE] E2E (mysql node: ${{ matrix.node }})'
|
||||
env:
|
||||
STRAPI_LICENSE: ${{ secrets.strapiLicense }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -285,11 +290,14 @@ jobs:
|
||||
run: |
|
||||
yarn run -s test:start-app & wait-on http://localhost:1337
|
||||
yarn run -s test:e2e
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
e2e_ee_sqlite:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, unit_back, unit_front]
|
||||
name: '[EE] E2E (sqlite node: ${{ matrix.node }})'
|
||||
env:
|
||||
STRAPI_LICENSE: ${{ secrets.strapiLicense }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -309,11 +317,14 @@ jobs:
|
||||
run: |
|
||||
yarn run -s test:start-app & wait-on http://localhost:1337
|
||||
yarn run -s test:e2e
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
e2e_ee_mongo:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint, unit_back, unit_front]
|
||||
name: '[EE] E2E (mongo node: ${{ matrix.node }})'
|
||||
env:
|
||||
STRAPI_LICENSE: ${{ secrets.strapiLicense }}
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12, 14]
|
||||
@ -338,3 +349,4 @@ jobs:
|
||||
run: |
|
||||
yarn run -s test:start-app & wait-on http://localhost:1337
|
||||
yarn run -s test:e2e
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user