We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4988b2 commit 984a9a3Copy full SHA for 984a9a3
1 file changed
.github/workflows/tests.php.unit.yml
@@ -0,0 +1,34 @@
1
+name: PHP Unit Tests
2
+
3
+on:
4
+ - push
5
+ - pull_request
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ php-version:
13
+ - '5.5'
14
+ - '5.6'
15
+ - '7.0'
16
+ include:
17
+ - php-version: '7.0'
18
+ allow_failure: true
19
+ continue-on-error: ${{ matrix.allow_failure || false }}
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: shivammathur/setup-php@v2
23
+ with:
24
+ coverage: xdebug
25
+ extensions: gd, json, mbstring
26
+ php-version: ${{ matrix.php-version }}
27
+ - run: composer install --no-interaction --prefer-dist
28
+ - run: vendor/bin/phpunit
29
+ - uses: codecov/codecov-action@v5
30
+ if: success()
31
32
+ token: ${{ secrets.CODECOV_TOKEN }}
33
+ - uses: coverallsapp/github-action@v2
34
0 commit comments