File tree Expand file tree Collapse file tree 2 files changed +55
-60
lines changed Expand file tree Collapse file tree 2 files changed +55
-60
lines changed Original file line number Diff line number Diff line change 1+ name : Test application
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - ' master'
8+ - ' [0-9]+.x'
9+ - ' [0-9]+.[0-9]+'
10+ - ' [0-9]+.[0-9]+.x'
11+
12+ jobs :
13+ test :
14+ name : ' PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies}}'
15+ runs-on : ubuntu-20.04
16+ env :
17+ SYMFONY_PHPUNIT_VERSION : 8
18+ SYMFONY_DEPRECATIONS_HELPER : weak
19+ SYMFONY_REQUIRE : ${{ matrix.symfony-version }}
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ include :
25+ - php-version : ' 7.2'
26+ dependencies : ' lowest'
27+ - php-version : ' 7.2'
28+ - php-version : ' 7.4'
29+ symfony-version : ' ^4.4'
30+ - php-version : ' 7.4'
31+ symfony-version : ' 5.0.*'
32+ - php-version : ' 8.0'
33+
34+ steps :
35+ - name : Checkout project
36+ uses : actions/checkout@v2
37+
38+ - name : Install and configure PHP
39+ uses : shivammathur/setup-php@v2
40+ with :
41+ php-version : ${{ matrix.php-version }}
42+ extensions : ' pdo, pdo_sqlite'
43+ tools : ' composer:v2'
44+
45+ - name : Install Symfony Flex
46+ run : composer global require --no-progress --no-scripts --no-plugins symfony/flex
47+
48+ - name : Install dependencies with Composer
49+ uses : ramsey/composer-install@v1
50+ with :
51+ dependency-versions : ${{ matrix.dependencies }}
52+ composer-options : --prefer-dist
53+
54+ - name : Execute test cases
55+ run : make test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments