Skip to content

Commit bddbdf5

Browse files
committed
-
1 parent 9fa5afb commit bddbdf5

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/end_to_end_tests.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,20 @@ jobs:
1818
with:
1919
php-version: '8.4'
2020
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
21-
tools: composer
2221
coverage: none
2322

2423
- name: Install Symfony CLI
2524
run: |
2625
wget https://get.symfony.com/cli/installer -O - | bash
27-
echo "$HOME/.symfony5/bin" >> $GITHUB_PATH
26+
echo "$HOME/.symfony*/bin" >> $GITHUB_PATH
2827
2928
- name: Create project using Symfony CLI
3029
run: |
3130
symfony new --demo symfony_cli_test
32-
cd symfony_cli_test
3331
3432
- name: Test application
33+
working-directory: ./symfony_cli_test
3534
run: |
36-
cd symfony_cli_test
3735
php bin/console --version
3836
php bin/console list
3937
php bin/console cache:clear --env=test
@@ -48,16 +46,16 @@ jobs:
4846
with:
4947
php-version: '8.4'
5048
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
49+
tools: composer
5150
coverage: none
5251

5352
- name: Create project using Composer
5453
run: |
5554
composer create-project symfony/symfony-demo composer_test
56-
cd composer_test
5755
5856
- name: Test application
5957
run: |
60-
cd composer_test
58+
working-directory: ./composer_test
6159
php bin/console --version
6260
php bin/console list
6361
php bin/console cache:clear --env=test
@@ -72,6 +70,7 @@ jobs:
7270
with:
7371
php-version: '8.4'
7472
extensions: mbstring, xml, ctype, iconv, intl, pdo_sqlite
73+
tools: composer
7574
coverage: none
7675

7776
- name: Clone repository and install dependencies
@@ -81,8 +80,8 @@ jobs:
8180
composer install --no-dev --optimize-autoloader
8281
8382
- name: Test application
83+
working-directory: ./git_clone_test
8484
run: |
85-
cd git_clone_test
8685
php bin/console --version
8786
php bin/console list
8887
php bin/console cache:clear --env=test
@@ -92,6 +91,8 @@ jobs:
9291
runs-on: ubuntu-latest
9392
needs: [test-symfony-cli-installation, test-composer-create-project, test-git-clone-installation]
9493
if: failure()
94+
permissions:
95+
issues: write
9596

9697
steps:
9798
- name: Create Issue on Failure

0 commit comments

Comments
 (0)