-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (28 loc) · 899 Bytes
/
phpunit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: PhpUnit
on: [ push, pull_request ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: '7.4'
- php: '8.0'
env:
extensions: bcmath gd xdebug
XDEBUG_MODE: coverage
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: '${{ matrix.php }}'
php_extensions: "${{ env.extensions }}"
- uses: php-actions/phpunit@v3
with:
php_version: '${{ matrix.php }}'
php_extensions: "${{ env.extensions }}"
- name: Coverage Report
uses: actions/upload-artifact@v2
with:
name: coverage
path: coverage