File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 50
50
51
51
- name : Execute test cases
52
52
run : vendor/bin/phpunit
53
+
54
+
55
+ php-windows :
56
+ name : " PHP Windows ${{ matrix.php-version }} ${{ matrix.dependencies }} ${{ matrix.dev-dependencies && 'dev' }}"
57
+ runs-on : windows-latest
58
+
59
+ strategy :
60
+ fail-fast : false
61
+ matrix :
62
+ include :
63
+ - php-version : ' 7.4'
64
+
65
+ steps :
66
+ - name : Checkout project
67
+ uses : actions/checkout@v2
68
+
69
+ - name : Install and configure PHP
70
+ uses : shivammathur/setup-php@v2
71
+ with :
72
+ php-version : ${{ matrix.php-version }}
73
+ tools : ' composer:v2'
74
+
75
+ - name : Allow unstable dependencies
76
+ if : matrix.dev-dependencies == true
77
+ run : composer config minimum-stability dev
78
+
79
+ - name : Install dependencies with Composer
80
+ uses : ramsey/composer-install@v1
81
+ with :
82
+ dependency-versions : ${{ matrix.dependencies }}
83
+ composer-options : --prefer-dist
84
+
85
+ - name : Execute test cases
86
+ run : vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments