This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree 2 files changed +82
-0
lines changed
2 files changed +82
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Integration test
2
+ on : push
3
+ jobs :
4
+ integration-test :
5
+ runs-on : ubuntu-latest
6
+
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+
10
+ - name : prepare
11
+ uses : docker://bash
12
+ with :
13
+ entrypoint : sh
14
+ args : -l -c "sed -i 's/{GITHUB_SHA}/'\"${GITHUB_SHA}\"'/' ${GITHUB_WORKSPACE}/tests-integration/composer.json"
15
+
16
+ - name : composer-install
17
+ uses : docker://composer
18
+ with :
19
+ args : install --working-dir tests-integration
20
+
21
+ - name : test
22
+ uses : docker://php:7.2
23
+ with :
24
+ args : tests-integration/vendor/bin/phpstan analyse --configuration tests-integration/phpstan.neon.dist
25
+ --no-progress --error-format=junit src
Original file line number Diff line number Diff line change
1
+ name : Testing
2
+ on : push
3
+ jobs :
4
+ phpunit :
5
+ runs-on : ubuntu-latest
6
+
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+
10
+ - name : composer-install
11
+ uses : docker://composer
12
+ with :
13
+ args : install --prefer-source --no-progress
14
+
15
+ - name : phpunit
16
+ uses : docker://php:7.2
17
+ with :
18
+ args : phpdbg -qrr ./vendor/bin/phpunit
19
+
20
+ - name : codecoverage
21
+ uses : pleo-io/actions/codecov@master
22
+ env :
23
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
24
+ with :
25
+ args : -f clover-report.xml
26
+
27
+ phpstan :
28
+ runs-on : ubuntu-latest
29
+
30
+ steps :
31
+ - uses : actions/checkout@v1
32
+
33
+ - name : composer-install
34
+ uses : docker://composer
35
+ with :
36
+ args : install --prefer-source --no-progress
37
+
38
+ - name : phpstan
39
+ uses : docker://php:7.2
40
+ with :
41
+ args : vendor/bin/phpstan analyse
42
+
43
+ phpcs :
44
+ runs-on : ubuntu-latest
45
+
46
+ steps :
47
+ - uses : actions/checkout@v1
48
+
49
+ - name : composer-install
50
+ uses : docker://composer
51
+ with :
52
+ args : install --prefer-source --no-progress
53
+
54
+ - name : phpcs
55
+ uses : docker://php:7.2
56
+ with :
57
+ args : vendor/bin/phpcs
You can’t perform that action at this time.
0 commit comments