mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[CI] Use default env in MySQL workflow
This commit is contained in:
parent
98b89aaa80
commit
1edb3b2699
2 changed files with 8 additions and 11 deletions
12
.github/workflows/ci_e2e-mysql.yaml
vendored
12
.github/workflows/ci_e2e-mysql.yaml
vendored
|
|
@ -44,14 +44,14 @@ jobs:
|
|||
behat-no-js:
|
||||
needs: get-matrix
|
||||
runs-on: ubuntu-latest
|
||||
name: "Non-JS, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "Non-JS, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env || 'test_cached' }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
timeout-minutes: 45
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }}
|
||||
|
||||
env:
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
APP_ENV: ${{ matrix.env || 'test_cached' }}
|
||||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
|
|
@ -132,14 +132,14 @@ jobs:
|
|||
behat-ui-js-chromedriver:
|
||||
needs: get-matrix
|
||||
runs-on: ubuntu-latest
|
||||
name: "JS with Chromedriver, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "JS with Chromedriver, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env || 'test_cached' }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
timeout-minutes: 45
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }}
|
||||
|
||||
env:
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
APP_ENV: ${{ matrix.env || 'test_cached' }}
|
||||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
|
|
@ -210,14 +210,14 @@ jobs:
|
|||
behat-ui-js-panther:
|
||||
needs: get-matrix
|
||||
runs-on: ubuntu-latest
|
||||
name: "JS with Panther, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "JS with Panther, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env || 'test_cached' }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
timeout-minutes: 45
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJson(needs.get-matrix.outputs.matrix) }}
|
||||
|
||||
env:
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
APP_ENV: ${{ matrix.env || 'test_cached' }}
|
||||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
|
|
|
|||
7
.github/workflows/matrix.json
vendored
7
.github/workflows/matrix.json
vendored
|
|
@ -39,16 +39,14 @@
|
|||
"symfony": "^6.4",
|
||||
"api-platform": "^3.3",
|
||||
"mysql": "8.0",
|
||||
"twig": "^3.3",
|
||||
"env": "test_cached"
|
||||
"twig": "^3.3"
|
||||
},
|
||||
{
|
||||
"php": "8.3",
|
||||
"symfony": "^7.1",
|
||||
"api-platform": "^3.3",
|
||||
"mysql": "8.4",
|
||||
"twig": "^3.3",
|
||||
"env": "test_cached"
|
||||
"twig": "^3.3"
|
||||
},
|
||||
{
|
||||
"php": "8.3",
|
||||
|
|
@ -112,7 +110,6 @@
|
|||
"api-platform": ["^3.3"],
|
||||
"mysql": ["8.0", "8.4"],
|
||||
"twig": ["^3.3"],
|
||||
"env": "test_cached",
|
||||
"include": [
|
||||
{
|
||||
"php": "8.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue