-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (31 loc) · 978 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
31
32
33
34
35
36
37
38
39
40
name: PHPUnit
on: [ push, pull_request ]
jobs:
tests:
name: Tests
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-latest ]
php-versions: [ '7.4', '8.2' ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: gmp, pdo_sqlite
- name: PHP version
run: php -v
- name: Composer validate
run: composer validate
- name: Composer install
run: composer install
- name: PHPUnit tests
env:
WAVES_CONFIG: 7b2257415645535f4e4f4445223a2268747470733a5c2f5c2f73746167652d6e6f64652e77382e696f222c2257415645535f464155434554223a2277617665732070726976617465206e6f64652073656564207769746820776176657320746f6b656e73227d
run: php vendor/bin/phpunit tests