-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (47 loc) · 1.27 KB
/
main.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
48
49
50
51
52
53
name: CI
on: [pull_request, workflow_dispatch]
jobs:
phpstan:
strategy:
matrix:
php-version:
- 8.1
- 8.2
uses: BrandEmbassy/github-actions/.github/workflows/php-phpstan.yml@master
with:
PHP_VERSION: ${{ matrix.php-version }}
ecs:
strategy:
fail-fast: false
matrix:
php-version:
- 8.1
- 8.2
uses: BrandEmbassy/github-actions/.github/workflows/php-ecs.yml@master
with:
PHP_VERSION: ${{ matrix.php-version }}
rector:
uses: BrandEmbassy/github-actions/.github/workflows/php-rector.yml@master
with:
PHP_VERSION: '8.1'
RECTOR_CACHE_PATH: './var/rector'
phpunit:
strategy:
matrix:
composer-arg:
- "install"
- "update --prefer-lowest"
php-version:
- 8.1
- 8.2
exclude:
- composer-arg: install
php-version: 8.1
uses: BrandEmbassy/github-actions/.github/workflows/php-phpunit.yml@master
with:
COMPOSER_ARG: ${{ matrix.composer-arg }}
PHP_VERSION: ${{ matrix.php-version }}
phpunit-with-sonar-qube:
uses: BrandEmbassy/github-actions/.github/workflows/php-phpunit-with-sonar-qube.yml@master
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}