We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60cb0a7 commit ab3182aCopy full SHA for ab3182a
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - "*.x"
8
+ pull_request:
9
10
11
12
13
+jobs:
14
+ tests:
15
+ name: PHP ${{ matrix.php }} Test
16
+ runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ php: ['8.1', '8.2', '8.3']
20
21
+ steps:
22
+ - name: Checkout code
23
+ uses: actions/checkout@v3
24
25
+ - name: Setup PHP
26
+ uses: shivammathur/setup-php@v2
27
+ with:
28
+ php-version: ${{ matrix.php }}
29
+ tools: composer:v2
30
+ coverage: none
31
32
+ - name: Install dependencies
33
+ run: composer update --prefer-dist --no-interaction --no-progress
34
35
+ - name: Execute tests
36
+ run: vendor/bin/phpunit
0 commit comments