-
Notifications
You must be signed in to change notification settings - Fork 17
52 lines (38 loc) · 990 Bytes
/
ci.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
name: Code validation
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-versions: ['8.2']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker build
run: make build
- name: Docker up
run: make up
- name: Wait for the environment
run: sleep 15
- name: Docker ps
run: make ps
- name: Validate composer.json and composer.lock
run: make composer-validate
- name: Lints
run: |
make test-lint-yaml
make test-lint-twig
make test-lint-xliff
make test-lint-generic
- name: PHPCSFixer
run: make test-php-cs-fixer
- name: PHPStan
run: make test-php-stan
- name: PHPRector
run: make test-rector
- name: Test
run: make test
- name: Fixtures
run: make fixtures