File tree Expand file tree Collapse file tree 3 files changed +54
-73
lines changed Expand file tree Collapse file tree 3 files changed +54
-73
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/composer-require-checker check composer.json --config-file=.composer-require-checker.json
24+ - run : dev-tools/vendor/bin/phpmd src,tests text phpmd.xml
25+ - run : dev-tools/vendor/bin/php-cs-fixer fix --diff --dry-run -v
26+
27+ test :
28+ runs-on : ubuntu-latest
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ include :
33+ - php-version : ' 5.6'
34+ composer-flags : ' --prefer-stable --prefer-lowest'
35+ - php-version : ' 7.0'
36+ - php-version : ' 7.1'
37+ - php-version : ' 7.2'
38+ - php-version : ' 7.3'
39+ - php-version : ' 7.4'
40+ - php-version : ' 8.0'
41+ - php-version : ' 8.1'
42+ - php-version : ' 8.2'
43+ - php-version : ' 8.3'
44+ steps :
45+ - uses : actions/checkout@v3
46+ - uses : shivammathur/setup-php@v2
47+ with :
48+ php-version : ${{ matrix.php-version }}
49+ coverage : none
50+ - run : composer update --no-progress ${{ matrix.composer-flags }}
51+ - run : vendor/bin/phpunit
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments