File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed
Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change 11# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
22
3- name : " Platform matrix test"
3+ name : " Platform test"
44
55on :
66 pull_request :
1010
1111jobs :
1212 tests :
13- name : " Platform matrix test"
13+ name : " Platform test"
1414 runs-on : " ubuntu-latest"
1515 env :
1616 MYSQL_HOST : ' 127.0.0.1'
1717 PGSQL_HOST : ' 127.0.0.1'
18+ MSSQL_HOST : ' 127.0.0.1'
1819
1920 strategy :
2021 fail-fast : false
2122 matrix :
2223 php-version :
24+ - " 7.4"
2325 - " 8.0"
2426 - " 8.1"
27+ - " 8.2"
28+ - " 8.3"
29+ update-packages :
30+ - " "
31+ include :
32+ - php-version : " 8.1"
33+ update-packages : doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 gedmo/doctrine-extensions:^3
34+ - php-version : " 8.2"
35+ update-packages : doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 gedmo/doctrine-extensions:^3
36+ - php-version : " 8.3"
37+ update-packages : doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctrine-types:^3 gedmo/doctrine-extensions:^3
2538
2639 steps :
2740 - name : " Checkout"
3851 - name : " Install dependencies"
3952 run : " composer install --no-interaction --no-progress"
4053
54+ - name : " Update packages"
55+ if : ${{ matrix.update-packages != '' }}
56+ run : composer require --dev ${{ matrix.update-packages }} -W
57+
4158 - name : " Run platform matrix test"
4259 run : vendor/bin/phpunit --group=platform
4360
5976 MYSQL_DATABASE : foo
6077 ports :
6178 - " 3306:3306"
79+
80+ mssql :
81+ image : mcr.microsoft.com/mssql/server:latest
82+ env :
83+ ACCEPT_EULA : Y
84+ SA_PASSWORD : ' Secret.123'
85+ MSSQL_PID : Developer
86+ ports :
87+ - 1433:1433
You can’t perform that action at this time.
0 commit comments