We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d99ac14 commit 565a55fCopy full SHA for 565a55f
.github/workflows/phpunit.yml
@@ -0,0 +1,35 @@
1
+name: PHPUnit tests
2
+on:
3
+ push
4
+
5
+permissions:
6
+ contents: read
7
8
+jobs:
9
+ build:
10
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ php: [ '8.1', '8.2', '8.3', '8.4' ]
15
+ name: On PHP ${{ matrix.php }}
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - name: Setup PHP ${{ matrix.php }}
21
+ uses: shivammathur/setup-php@v2
22
+ with:
23
+ php-version: ${{ matrix.php }}
24
25
+ - name: Install dependencies (latest)
26
+ run: composer install --prefer-dist --no-progress
27
28
+ - name: Run test suite (latest)
29
+ run: ./vendor/bin/phpunit
30
31
+ - name: Install dependencies (lowest)
32
+ run: composer update --prefer-lowest --no-progress
33
34
+ - name: Run test suite (lowest)
35
0 commit comments