This repository was archived by the owner on Sep 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Expand file tree Collapse file tree 1 file changed +65
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Quality Checks
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+
6
+ pull_request : {}
7
+ push :
8
+ branches :
9
+ - main
10
+
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
13
+ cancel-in-progress : true
14
+
15
+ jobs :
16
+ phpcs :
17
+ name : CodeSniffer
18
+ runs-on : ubuntu-latest
19
+ timeout-minutes : 10
20
+
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - uses : shivammathur/setup-php@v2
24
+ with :
25
+ php-version : 8.3
26
+ coverage : none
27
+
28
+ - uses : ramsey/composer-install@v2
29
+
30
+ - name : Run PHP CodeSniffer
31
+ run : composer run phpcs
32
+
33
+ stan :
34
+ name : PHP Stan
35
+ runs-on : ubuntu-latest
36
+ timeout-minutes : 10
37
+
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ - uses : shivammathur/setup-php@v2
41
+ with :
42
+ php-version : 7.4
43
+ coverage : none
44
+
45
+ - uses : ramsey/composer-install@v2
46
+
47
+ - name : Run PHP Stan
48
+ run : composer run phpstan
49
+
50
+ tests :
51
+ name : Tests
52
+ runs-on : ubuntu-latest
53
+ timeout-minutes : 10
54
+
55
+ steps :
56
+ - uses : actions/checkout@v2
57
+ - uses : shivammathur/setup-php@v2
58
+ with :
59
+ php-version : 7.4
60
+ coverage : none
61
+
62
+ - uses : ramsey/composer-install@v2
63
+
64
+ - name : Run PHPUnit
65
+ run : composer run tests
You can’t perform that action at this time.
0 commit comments