-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (26 loc) · 849 Bytes
/
phpunit.yml
File metadata and controls
28 lines (26 loc) · 849 Bytes
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
name: PhpUnit
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: [7.4, 8.0]
env:
extensions: bcmath gd xdebug intl
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