-
-
Notifications
You must be signed in to change notification settings - Fork 55
35 lines (32 loc) · 922 Bytes
/
phpunit.yml
File metadata and controls
35 lines (32 loc) · 922 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
29
30
31
32
33
34
35
name: PHPUnit
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 4
matrix:
php-version: ['7.3', '8.0', '8.1']
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Configure phpunit matchers
#uses: mheap/phpunit-matcher-action@v1
# TODO(Peter): Simplify/revert once https://github.com/mheap/phpunit-matcher-action/pull/28 is merged and released...
uses: peternewman/phpunit-matcher-action@php-native-matches
with:
base_path: /app
- uses: php-actions/composer@v6
name: Install dependencies
with:
php_version: ${{ matrix.php-version }}
version: 2
- name: Running PHPUnit
uses: php-actions/phpunit@v4
with:
version: 9.6
#configuration: phpunit.xml
args: --teamcity
#args: --coverage-text