-
Notifications
You must be signed in to change notification settings - Fork 397
49 lines (39 loc) · 1.1 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
48
49
name: tests
on:
push:
pull_request:
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '8.2'
- '8.3'
- '8.4'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint PHP
run: Build/Scripts/runTests.sh -p ${{ matrix.php }} -s lint
quality:
name: Quality
runs-on: ubuntu-latest
env:
php: '8.2'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install testing system
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerUpdate
- name: Composer validate
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerValidate
- name: Composer normalize
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s composerNormalize -n
- name: CGL
run: Build/Scripts/runTests.sh -n -p ${{ env.php }} -s cgl -n
- name: Check Rst
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s checkRst
- name: Lint YAML
run: Build/Scripts/runTests.sh -p ${{ env.php }} -s yamlLint