-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (30 loc) · 969 Bytes
/
tests.yaml
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, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2', '8.3']
illuminate: [9, 10, 11]
exclude:
# Exclude incompatible PHP versions for Laravel 9
- php: '8.2'
illuminate: 9
- php: '8.3'
illuminate: 9
# Exclude incompatible PHP versions for Laravel 10
- php: '8.0'
illuminate: 10
- php: '8.3'
illuminate: 10
# Exclude incompatible PHP versions for Laravel 11
- php: '8.0'
illuminate: 11
- php: '8.1'
illuminate: 11
steps:
- uses: actions/checkout@v3
- name: "Run tests on PHP: ${{ matrix.php }}, Illuminate: ${{ matrix.illuminate }}"
run: docker build . --build-arg PHP_VERSION=${{ matrix.php }} --build-arg ILLUMINATE_VERSION=${{ matrix.illuminate }}