-
Notifications
You must be signed in to change notification settings - Fork 177
36 lines (31 loc) · 814 Bytes
/
tests.yml
File metadata and controls
36 lines (31 loc) · 814 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
36
name: Tests
on:
push:
branches:
- 2.x
- 3.x
- 4.x
- develop
pull_request:
jobs:
phpUnitTests:
runs-on: ubuntu-latest
strategy:
max-parallel: 6
matrix:
phpVersions: ['8.2', '8.3', '8.4', '8.5']
fail-fast: false
name: PHP ${{ matrix.phpVersions }}
steps:
- name: Checkout changes
uses: actions/checkout@v1
- name: Install PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.phpVersions }}
- name: Install Composer dependencies
run: |
composer config --no-interaction allow-plugins.composer/installers true
composer install --no-interaction --no-progress --no-scripts
- name: Run Tests
run: ./vendor/bin/phpunit ./tests