File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ php : ["8.4", "8.5"]
13+ composer-opts : ["", "--prefer-lowest"]
14+ container :
15+ image : skpr/php-cli:${{ matrix.php }}-v2-stable
16+ defaults :
17+ run :
18+ working-directory : /data
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Install dependencies
22+ run : composer update --prefer-dist --no-progress --no-suggest --no-interaction --optimize-autoloader ${{ matrix.composer-opts }}
23+ - name : PHPCS
24+ run : ./bin/phpcs --colors --report=full --runtime-set testVersion 8.0-
25+ - name : PHPStan
26+ run : php -d memory_limit=-1 ./bin/phpstan analyze --no-progress
27+ - name : PHPUnit
28+ run : |
29+ mkdir -p build/phpunit
30+ ./bin/phpunit --log-junit build/phpunit/results.xml
31+ - name : Upload test results
32+ uses : actions/upload-artifact@v4
33+ if : success() || failure()
34+ with :
35+ name : phpunit-results-${{ matrix.php }}-${{ matrix.composer-opts || 'default' }}
36+ path : /data/build
You can’t perform that action at this time.
0 commit comments