We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f12cbd commit e631b09Copy full SHA for e631b09
.github/workflows/ci.yml
@@ -0,0 +1,39 @@
1
+name: "CI"
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ tests:
12
+ name: "PHP ${{ matrix.php-version }}"
13
14
+ runs-on: 'ubuntu-latest'
15
16
+ strategy:
17
+ matrix:
18
+ php-version:
19
+ - '8.3'
20
+ - '8.4'
21
22
+ steps:
23
+ - name: "Checkout code"
24
+ uses: actions/checkout@v4
25
26
+ - name: "Install PHP with extensions"
27
+ uses: shivammathur/setup-php@v2
28
+ with:
29
+ coverage: "none"
30
+ php-version: ${{ matrix.php-version }}
31
+ ini-values: memory_limit=-1
32
33
+ - name: "Add PHPUnit matcher"
34
+ run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
35
36
+ - run: composer install
37
38
+ - name: "Run tests"
39
+ run: vendor/bin/phpunit
0 commit comments