File tree Expand file tree Collapse file tree 3 files changed +53
-72
lines changed Expand file tree Collapse file tree 3 files changed +53
-72
lines changed Original file line number Diff line number Diff line change @@ -7,3 +7,6 @@ insert_final_newline = true
77indent_style = space
88indent_size = 4
99trim_trailing_whitespace = true
10+
11+ [* .yaml ]
12+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ - pull_request
5+ - push
6+
7+ jobs :
8+ analyse :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - uses : shivammathur/setup-php@v2
13+ with :
14+ php-version : ' 7.4'
15+ coverage : none
16+ tools : composer:v1
17+ - run : composer global require hirak/prestissimo
18+ - run : composer update --no-progress
19+ - run : composer update --no-progress --working-dir=dev-tools
20+ - run : composer info --direct --working-dir=dev-tools | sort
21+ - run : composer validate --strict
22+ - run : composer normalize --working-dir=dev-tools ../composer.json --dry-run
23+ - run : dev-tools/vendor/bin/phpmd src,tests text dev-tools/phpmd.xml
24+ - run : dev-tools/vendor/bin/php-cs-fixer fix --diff --dry-run -v
25+
26+ test :
27+ runs-on : ubuntu-latest
28+ strategy :
29+ fail-fast : false
30+ matrix :
31+ include :
32+ - php-version : ' 5.6'
33+ composer-flags : ' --prefer-stable --prefer-lowest'
34+ - php-version : ' 7.0'
35+ - php-version : ' 7.1'
36+ - php-version : ' 7.2'
37+ - php-version : ' 7.3'
38+ - php-version : ' 7.4'
39+ - php-version : ' 8.0'
40+ - php-version : ' 8.1'
41+ - php-version : ' 8.2'
42+ - php-version : ' 8.3'
43+ steps :
44+ - uses : actions/checkout@v3
45+ - uses : shivammathur/setup-php@v2
46+ with :
47+ php-version : ${{ matrix.php-version }}
48+ coverage : none
49+ - run : composer update --no-progress ${{ matrix.composer-flags }}
50+ - run : vendor/bin/phpunit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments