@@ -18,22 +18,20 @@ jobs:
18
18
with :
19
19
php-version : ' 8.4'
20
20
extensions : mbstring, xml, ctype, iconv, intl, pdo_sqlite
21
- tools : composer
22
21
coverage : none
23
22
24
23
- name : Install Symfony CLI
25
24
run : |
26
25
wget https://get.symfony.com/cli/installer -O - | bash
27
- echo "$HOME/.symfony5 /bin" >> $GITHUB_PATH
26
+ echo "$HOME/.symfony* /bin" >> $GITHUB_PATH
28
27
29
28
- name : Create project using Symfony CLI
30
29
run : |
31
30
symfony new --demo symfony_cli_test
32
- cd symfony_cli_test
33
31
34
32
- name : Test application
33
+ working-directory : ./symfony_cli_test
35
34
run : |
36
- cd symfony_cli_test
37
35
php bin/console --version
38
36
php bin/console list
39
37
php bin/console cache:clear --env=test
@@ -48,16 +46,16 @@ jobs:
48
46
with :
49
47
php-version : ' 8.4'
50
48
extensions : mbstring, xml, ctype, iconv, intl, pdo_sqlite
49
+ tools : composer
51
50
coverage : none
52
51
53
52
- name : Create project using Composer
54
53
run : |
55
54
composer create-project symfony/symfony-demo composer_test
56
- cd composer_test
57
55
58
56
- name : Test application
59
57
run : |
60
- cd composer_test
58
+ working-directory: ./ composer_test
61
59
php bin/console --version
62
60
php bin/console list
63
61
php bin/console cache:clear --env=test
72
70
with :
73
71
php-version : ' 8.4'
74
72
extensions : mbstring, xml, ctype, iconv, intl, pdo_sqlite
73
+ tools : composer
75
74
coverage : none
76
75
77
76
- name : Clone repository and install dependencies
81
80
composer install --no-dev --optimize-autoloader
82
81
83
82
- name : Test application
83
+ working-directory : ./git_clone_test
84
84
run : |
85
- cd git_clone_test
86
85
php bin/console --version
87
86
php bin/console list
88
87
php bin/console cache:clear --env=test
92
91
runs-on : ubuntu-latest
93
92
needs : [test-symfony-cli-installation, test-composer-create-project, test-git-clone-installation]
94
93
if : failure()
94
+ permissions :
95
+ issues : write
95
96
96
97
steps :
97
98
- name : Create Issue on Failure
0 commit comments