-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 1016 Bytes
/
tests.yaml
File metadata and controls
32 lines (31 loc) · 1016 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
name: Tests
on:
pull_request: null
push:
branches:
- develop
jobs:
tests:
runs-on: 'Ubuntu-20.04'
strategy:
fail-fast: false
matrix:
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
include:
- php: '7.1'
dependencies: 'lowest'
composer-options: '--prefer-stable'
name: PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php }}'
coverage: none
ini-values: 'memory_limit=-1'
- uses: "ramsey/composer-install@v1"
with:
dependency-versions: '${{ matrix.dependencies }}'
composer-options: '${{ matrix.composer-options }}'
- name: Run Unit tests
run: vendor/bin/phpunit