File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Functional Tests
2
2
3
+ defaults :
4
+ run :
5
+ shell : bash
6
+
3
7
on :
4
8
push :
5
9
paths :
12
16
13
17
jobs :
14
18
turbo-tests :
15
- runs-on : ubuntu-latest
19
+ runs-on : ${{ matrix.os || ' ubuntu-latest' }}
16
20
strategy :
17
21
fail-fast : false
18
22
matrix :
19
23
php-version : ['8.1', '8.2', '8.3', '8.4']
20
24
dependency-version : ['']
21
25
symfony-version : ['']
22
26
minimum-stability : ['stable']
27
+ os : ['']
23
28
include :
24
29
# dev packages (probably not needed to have multiple such jobs)
25
30
- minimum-stability : ' dev'
30
35
# LTS version of Symfony
31
36
- php-version : ' 8.1'
32
37
symfony-version : ' 6.4.*'
33
-
38
+ - php-version : ' 8.1'
39
+ symfony-version : ' 6.4.*'
40
+ os : ' windows-latest'
34
41
env :
35
42
SYMFONY_REQUIRE : ${{ matrix.symfony-version || '>=5.4' }}
36
43
services :
Original file line number Diff line number Diff line change 1
1
name : Unit Tests
2
2
3
+ defaults :
4
+ run :
5
+ shell : bash
6
+
3
7
on :
4
8
push :
5
9
paths-ignore :
@@ -18,14 +22,15 @@ concurrency:
18
22
19
23
jobs :
20
24
php :
21
- runs-on : ubuntu-latest
25
+ runs-on : ${{ matrix.os || ' ubuntu-latest' }}
22
26
strategy :
23
27
fail-fast : false
24
28
matrix :
25
29
php-version : ['8.1', '8.2', '8.3', '8.4']
26
30
dependency-version : ['']
27
31
symfony-version : ['']
28
32
minimum-stability : ['stable']
33
+ os : ['']
29
34
include :
30
35
# dev packages (probably not needed to have multiple such jobs)
31
36
- minimum-stability : ' dev'
36
41
# LTS version of Symfony
37
42
- php-version : ' 8.1'
38
43
symfony-version : ' 6.4.*'
44
+ - php-version : ' 8.1'
45
+ symfony-version : ' 6.4.*'
46
+ os : ' windows-latest'
39
47
40
48
env :
41
49
SYMFONY_REQUIRE : ${{ matrix.symfony-version || '>=5.4' }}
62
70
echo "Packages: $PACKAGES"
63
71
echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
64
72
73
+ if [ "${{ matrix.os }}" = "windows-latest" ]; then
74
+ apt-get install -y parallel
75
+ fi
76
+
65
77
- name : Setup PHP
66
78
uses : shivammathur/setup-php@v2
67
79
with :
You can’t perform that action at this time.
0 commit comments