-
-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (42 loc) · 1.07 KB
/
tests.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
41
42
43
44
45
46
47
name: Laravel Sabre workflow
on:
push:
branches:
- main
- next
- next-major
- beta
- alpha
pull_request:
types: [opened, synchronize, reopened]
release:
types:
- created
jobs:
tests:
uses: monicahq/workflows/.github/workflows/library.yml@main
with:
php-version: ${{ matrix.php-version }}
laravel-version: ${{ matrix.laravel-version }}
coverage: ${{ matrix.php-version == '8.2' && matrix.laravel-version == '10.*' }}
strategy:
fail-fast: false
matrix:
php-version: [8.0, 8.1, 8.2]
laravel-version: [8.*, 9.*, 10.*]
exclude:
- php-version: 8.0
laravel-version: 10.*
reporting:
uses: monicahq/workflows/.github/workflows/reporting.yml@main
with:
project: monicahq_laravel-sabre
sources: src
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
needs: tests
release:
uses: monicahq/workflows/.github/workflows/release.yml@main
secrets:
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
needs: tests