Skip to content

Commit ce50dc4

Browse files
committed
Actions: Update
1 parent 277e7b3 commit ce50dc4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/test.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,17 @@ jobs:
1414
name: PHP ${{ matrix.php-versions }}
1515
continue-on-error: ${{ matrix.experimental }}
1616
env:
17-
extensions: curl,json,mbstring,uopz
17+
extensions: curl,json,mbstring,${{ matrix.uopz }}
1818
key: cache-v1 # can be any string, change to clear the extension cache.
1919
strategy:
2020
matrix:
2121
php-versions: ['7.3', '7.4']
2222
experimental: [ false ]
23+
uopz: [ 'uopz' ]
2324
include:
2425
- php-versions: 8.0
2526
experimental: true
27+
uopz: 'uopz-snapshot'
2628
steps:
2729
- name: Checkout
2830
uses: actions/checkout@v2
@@ -69,14 +71,14 @@ jobs:
6971
- name: Install dependencies
7072
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
7173

72-
- name: Run test suite
73-
run: composer run-script test
74-
7574
- name: Setup Problem Matchers for PHPUnit
7675
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
7776

77+
- name: Run test suite
78+
run: composer run-script test
79+
7880
- name: PHPStan
79-
run: phpstan analyse --level=4 --error-format=checkstyle src/ | cs2pr
81+
run: phpstan analyse --level=5 src/
8082

8183
- name: PHPCS
8284
run: phpcs --standard=tests/phpcs.xml --ignore=\*Minifier.php src/ | cs2pr

0 commit comments

Comments
 (0)