mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Revert "[CI] Use default env in MySQL workflow"
This commit is contained in:
parent
9ff99af69e
commit
c994b89310
2 changed files with 11 additions and 9 deletions
13
.github/workflows/ci_e2e-mysql.yaml
vendored
13
.github/workflows/ci_e2e-mysql.yaml
vendored
|
|
@ -23,7 +23,6 @@ jobs:
|
|||
name: "Get matrix"
|
||||
outputs:
|
||||
matrix: ${{ steps.matrix.outputs.prop }}
|
||||
env: ${{ matrix.env || 'test_cached' }}
|
||||
steps:
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
|
|
@ -45,14 +44,14 @@ jobs:
|
|||
behat-no-js:
|
||||
needs: get-matrix
|
||||
runs-on: ubuntu-latest
|
||||
name: "Non-JS, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "Non-JS, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), 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: ${{ env }}
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
|
|
@ -133,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 }} (${{ env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "JS with Chromedriver, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), 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: ${{ env }}
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
|
|
@ -211,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 }} (${{ env }}), MySQL ${{ matrix.mysql }}, Twig ${{ matrix.twig }}, API Platform ${{ matrix.api-platform }}"
|
||||
name: "JS with Panther, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }} (${{ matrix.env }}), 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: ${{ env }}
|
||||
APP_ENV: ${{ matrix.env }}
|
||||
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,14 +39,16 @@
|
|||
"symfony": "^6.4",
|
||||
"api-platform": "^3.3",
|
||||
"mysql": "8.0",
|
||||
"twig": "^3.3"
|
||||
"twig": "^3.3",
|
||||
"env": "test_cached"
|
||||
},
|
||||
{
|
||||
"php": "8.3",
|
||||
"symfony": "^7.1",
|
||||
"api-platform": "^3.3",
|
||||
"mysql": "8.4",
|
||||
"twig": "^3.3"
|
||||
"twig": "^3.3",
|
||||
"env": "test_cached"
|
||||
},
|
||||
{
|
||||
"php": "8.3",
|
||||
|
|
@ -110,6 +112,7 @@
|
|||
"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