mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
Update BuildTestAppAction to v3.0.1 (#18459)
Update SyliusLabs/BuildTestAppAction from v2.3 to v3.0 across all E2E and frontend CI workflows
This commit is contained in:
commit
444031b258
6 changed files with 8 additions and 68 deletions
14
.github/workflows/ci_e2e-mariadb.yaml
vendored
14
.github/workflows/ci_e2e-mariadb.yaml
vendored
|
|
@ -56,17 +56,6 @@ jobs:
|
|||
TEST_SYLIUS_STATE_MACHINE_ADAPTER: "${{ matrix.state_machine_adapter }}"
|
||||
|
||||
steps:
|
||||
- name: Set variables
|
||||
shell: bash
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
run: |
|
||||
if [ "$BRANCH" == "1.12" ]; then
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=yes" >> $GITHUB_ENV
|
||||
else
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=no" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -78,7 +67,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-"
|
||||
|
|
@ -86,7 +75,6 @@ jobs:
|
|||
e2e: "yes"
|
||||
database: "mariadb"
|
||||
database_version: ${{ matrix.mariadb }}
|
||||
legacy_postgresql_setup: ${{ env.USE_LEGACY_POSTGRES_SETUP }}
|
||||
php_version: ${{ matrix.php }}
|
||||
symfony_version: ${{ matrix.symfony }}
|
||||
|
||||
|
|
|
|||
42
.github/workflows/ci_e2e-mysql.yaml
vendored
42
.github/workflows/ci_e2e-mysql.yaml
vendored
|
|
@ -55,17 +55,6 @@ jobs:
|
|||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
- name: Set variables
|
||||
shell: bash
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
run: |
|
||||
if [ "$BRANCH" == "1.12" ]; then
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=yes" >> $GITHUB_ENV
|
||||
else
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=no" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -81,14 +70,13 @@ jobs:
|
|||
run: composer require --no-update --no-scripts --no-interaction "twig/twig:${{ matrix.twig }}"
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-api-platform-${{ matrix.api-platform }}"
|
||||
cache_restore_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-api-platform-${{ matrix.api-platform }}"
|
||||
e2e: "yes"
|
||||
database_version: ${{ matrix.mysql }}
|
||||
legacy_postgresql_setup: ${{ env.USE_LEGACY_POSTGRES_SETUP }}
|
||||
php_version: ${{ matrix.php }}
|
||||
symfony_version: ${{ matrix.symfony }}
|
||||
|
||||
|
|
@ -132,17 +120,6 @@ jobs:
|
|||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
- name: Set variables
|
||||
shell: bash
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
run: |
|
||||
if [ "$BRANCH" == "1.12" ]; then
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=yes" >> $GITHUB_ENV
|
||||
else
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=no" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -169,7 +146,7 @@ jobs:
|
|||
run: composer require --no-update --no-scripts --no-interaction "twig/twig:${{ matrix.twig }}"
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-api-platform-${{ matrix.api-platform }}"
|
||||
|
|
@ -177,7 +154,6 @@ jobs:
|
|||
e2e: "yes"
|
||||
e2e_js: "yes"
|
||||
database_version: ${{ matrix.mysql }}
|
||||
legacy_postgresql_setup: ${{ env.USE_LEGACY_POSTGRES_SETUP }}
|
||||
php_version: ${{ matrix.php }}
|
||||
symfony_version: ${{ matrix.symfony }}
|
||||
node_version: "20.x"
|
||||
|
|
@ -213,17 +189,6 @@ jobs:
|
|||
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?charset=utf8mb4&serverVersion=${{ matrix.mysql }}"
|
||||
|
||||
steps:
|
||||
- name: Set variables
|
||||
shell: bash
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
run: |
|
||||
if [ "$BRANCH" == "1.12" ]; then
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=yes" >> $GITHUB_ENV
|
||||
else
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=no" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -250,7 +215,7 @@ jobs:
|
|||
run: composer require --no-update --no-scripts --no-interaction "twig/twig:${{ matrix.twig }}"
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-symfony-${{ matrix.symfony }}-api-platform-${{ matrix.api-platform }}"
|
||||
|
|
@ -258,7 +223,6 @@ jobs:
|
|||
e2e: "yes"
|
||||
e2e_js: "yes"
|
||||
database_version: ${{ matrix.mysql }}
|
||||
legacy_postgresql_setup: ${{ env.USE_LEGACY_POSTGRES_SETUP }}
|
||||
php_version: ${{ matrix.php }}
|
||||
symfony_version: ${{ matrix.symfony }}
|
||||
node_version: "20.x"
|
||||
|
|
|
|||
14
.github/workflows/ci_e2e-pgsql.yaml
vendored
14
.github/workflows/ci_e2e-pgsql.yaml
vendored
|
|
@ -55,17 +55,6 @@ jobs:
|
|||
DATABASE_URL: "pgsql://postgres:postgres@127.0.0.1/sylius?charset=utf8&serverVersion=${{ matrix.postgres }}"
|
||||
|
||||
steps:
|
||||
- name: Set variables
|
||||
shell: bash
|
||||
env:
|
||||
BRANCH: ${{ inputs.branch }}
|
||||
run: |
|
||||
if [ "$BRANCH" == "1.12" ]; then
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=yes" >> $GITHUB_ENV
|
||||
else
|
||||
echo "USE_LEGACY_POSTGRES_SETUP=no" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: "Checkout (With Branch)"
|
||||
if: "${{ inputs.branch != '' }}"
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -77,7 +66,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-"
|
||||
|
|
@ -85,7 +74,6 @@ jobs:
|
|||
e2e: "yes"
|
||||
database: "postgresql"
|
||||
database_version: ${{ matrix.postgres }}
|
||||
legacy_postgresql_setup: ${{ env.USE_LEGACY_POSTGRES_SETUP }}
|
||||
php_version: ${{ matrix.php }}
|
||||
symfony_version: ${{ matrix.symfony }}
|
||||
|
||||
|
|
|
|||
2
.github/workflows/ci_e2e-unstable.yaml
vendored
2
.github/workflows/ci_e2e-unstable.yaml
vendored
|
|
@ -40,7 +40,7 @@ jobs:
|
|||
composer config prefer-stable false
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
cache_key: "${{ github.run_id }}-${{ runner.os }}-${{ hashFiles('composer.json') }}-php-${{ matrix.php }}-symfony-${{ matrix.symfony }}-"
|
||||
|
|
|
|||
2
.github/workflows/ci_frontend.yaml
vendored
2
.github/workflows/ci_frontend.yaml
vendored
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build application
|
||||
uses: SyliusLabs/BuildTestAppAction@v2.3
|
||||
uses: SyliusLabs/BuildTestAppAction@v3.0.1
|
||||
with:
|
||||
build_type: "sylius"
|
||||
e2e_js: "yes"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ default:
|
|||
|
||||
Behat\MinkExtension:
|
||||
files_path: "%paths.base%/src/Sylius/Behat/Resources/fixtures/"
|
||||
base_url: "https://127.0.0.1:8080/"
|
||||
base_url: "http://127.0.0.1:8080/"
|
||||
default_session: symfony
|
||||
javascript_session: panther
|
||||
sessions:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue