File tree Expand file tree Collapse file tree 5 files changed +84
-91
lines changed Expand file tree Collapse file tree 5 files changed +84
-91
lines changed Original file line number Diff line number Diff line change
1
+ name : " Codesniffer"
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ push :
8
+ branches : ["*"]
9
+
10
+ schedule :
11
+ - cron : " 0 8 * * 1"
12
+
13
+ jobs :
14
+ codesniffer :
15
+ name : " Codesniffer"
16
+ uses : contributte/.github/.github/workflows/codesniffer.yml@master
17
+ with :
18
+ php : " 8.2"
Original file line number Diff line number Diff line change
1
+ name : " Coverage"
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ push :
8
+ branches : ["*"]
9
+
10
+ schedule :
11
+ - cron : " 0 8 * * 1"
12
+
13
+ jobs :
14
+ coverage :
15
+ name : " Nette Tester"
16
+ uses : contributte/.github/.github/workflows/nette-tester-coverage-v2.yml@master
17
+ with :
18
+ php : " 8.2"
Original file line number Diff line number Diff line change
1
+ name : " Phpstan"
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ push :
8
+ branches : ["*"]
9
+
10
+ schedule :
11
+ - cron : " 0 8 * * 1"
12
+
13
+ jobs :
14
+ phpstan :
15
+ name : " Phpstan"
16
+ uses : contributte/.github/.github/workflows/phpstan.yml@master
17
+ with :
18
+ php : " 8.2"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Tests
1
+ name : " Nette Tester "
2
2
3
3
on :
4
4
pull_request :
5
- paths-ignore :
6
- - " .docs/** "
5
+ workflow_dispatch :
6
+
7
7
push :
8
- branches :
9
- - " * "
8
+ branches : [ "*" ]
9
+
10
10
schedule :
11
- - cron : " 0 8 * * 1" # At 08:00 on Monday
11
+ - cron : " 0 8 * * 1"
12
12
13
13
jobs :
14
- tests :
15
- runs-on : ubuntu-latest
16
- strategy :
17
- matrix :
18
- php :
19
- - 8.0
20
- - 8.1
21
-
22
- fail-fast : false
23
-
24
- name : PHP ${{ matrix.php }} tests
25
- steps :
26
- - uses : actions/checkout@v2
27
- - uses : shivammathur/setup-php@v2
28
- with :
29
- php-version : ${{ matrix.php }}
30
- coverage : none
31
-
32
- - name : Get Composer Cache Directory
33
- id : composer-cache
34
- run : |
35
- echo "::set-output name=dir::$(composer config cache-files-dir)"
36
- - uses : actions/cache@v1
37
- with :
38
- path : ${{ steps.composer-cache.outputs.dir }}
39
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
40
- restore-keys : |
41
- ${{ runner.os }}-composer-
42
-
43
- - run : composer install --no-progress --prefer-dist
44
- - run : make tests
45
- - if : failure()
46
- run : for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
47
- shell : bash
48
-
49
-
50
- lowest_dependencies :
51
- name : Lowest Dependencies
52
- runs-on : ubuntu-latest
53
- steps :
54
- - uses : actions/checkout@v2
55
- - uses : shivammathur/setup-php@v2
56
- with :
57
- php-version : 8.0
58
- coverage : none
59
-
60
- - run : composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable
61
- - run : make tests
14
+ test83 :
15
+ name : " Nette Tester"
16
+ uses : contributte/.github/.github/workflows/nette-tester.yml@master
17
+ with :
18
+ php : " 8.3"
19
+
20
+ test82 :
21
+ name : " Nette Tester"
22
+ uses : contributte/.github/.github/workflows/nette-tester.yml@master
23
+ with :
24
+ php : " 8.2"
25
+
26
+ test81 :
27
+ name : " Nette Tester"
28
+ uses : contributte/.github/.github/workflows/nette-tester.yml@master
29
+ with :
30
+ php : " 8.1"
31
+
32
+ testlower :
33
+ name : " Nette Tester"
34
+ uses : contributte/.github/.github/workflows/nette-tester.yml@master
35
+ with :
36
+ php : " 8.1"
37
+ composer : " composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"
You can’t perform that action at this time.
0 commit comments