-
-
Notifications
You must be signed in to change notification settings - Fork 29
43 lines (39 loc) · 952 Bytes
/
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
name: Unit tests
on:
push:
branches:
- main
- next
- next-major
- beta
- alpha
pull_request:
types: [opened, synchronize, reopened]
release:
types:
- created
permissions:
contents: write
issues: write
pull-requests: write
checks: write
id-token: write
jobs:
tests:
name: Run tests
uses: monicahq/workflows/.github/workflows/library.yml@v2
with:
php-versions: "['8.1', '8.2', '8.3']"
laravel-versions: "['^9.0', '^10.0', '^11.0']"
default-php-version: '8.3'
default-laravel-version: '^11.0'
matrix-exclude: "[{'php-version': '8.1', 'laravel-version': '^11.0'}]"
project: monicahq_laravel-cloudflare
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
release:
name: Release
uses: monicahq/workflows/.github/workflows/release.yml@v2
secrets:
GH_TOKEN_RELEASE: ${{ secrets.GH_TOKEN_RELEASE }}
needs: tests