File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ # https://help.github.com/en/categories/automating-your-workflow-with-github-actions
2
+
3
+ name : " Tests"
4
+
5
+ on :
6
+ pull_request :
7
+ push :
8
+ branches :
9
+ - " main"
10
+
11
+ concurrency :
12
+ group : ${{ github.head_ref || github.run_id }}
13
+ cancel-in-progress : true
14
+
15
+ jobs :
16
+
17
+ tests :
18
+ name : " Tests"
19
+
20
+ runs-on : ${{ matrix.operating-system }}
21
+
22
+ strategy :
23
+ matrix :
24
+ dependencies :
25
+ - " lowest"
26
+ - " highest"
27
+ php-version :
28
+ - " 8.1"
29
+ - " 8.2"
30
+ - " 8.3"
31
+ operating-system :
32
+ - " ubuntu-latest"
33
+
34
+ steps :
35
+ - name : " Checkout"
36
+ uses : " actions/checkout@v3"
37
+
38
+ - name : " Install PHP"
39
+ uses : " shivammathur/setup-php@v2"
40
+ with :
41
+ coverage : " none"
42
+ php-version : " ${{ matrix.php-version }}"
43
+ extensions : mbstring
44
+
45
+ - name : " Install dependencies"
46
+ uses : " ramsey/composer-install@v2"
47
+ with :
48
+ dependency-versions : " ${{ matrix.dependencies }}"
49
+
50
+ - name : " Tests"
51
+ run : " composer test"
You can’t perform that action at this time.
0 commit comments