Skip to content

Commit 936f8ef

Browse files
committed
CI: re-usable workflows
1 parent 3f952b3 commit 936f8ef

File tree

5 files changed

+77
-289
lines changed

5 files changed

+77
-289
lines changed

.github/workflows/codesniffer.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Codesniffer"
2+
3+
on:
4+
pull_request:
5+
6+
push:
7+
branches: ["*"]
8+
9+
schedule:
10+
- cron: "0 8 * * 1"
11+
12+
jobs:
13+
codesniffer:
14+
name: "Codesniffer"
15+
uses: contributte/.github/.github/workflows/codesniffer.yml@v1

.github/workflows/coverage.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: "Coverage"
2+
3+
on:
4+
pull_request:
5+
6+
push:
7+
branches: ["*"]
8+
9+
schedule:
10+
- cron: "0 8 * * 1"
11+
12+
jobs:
13+
coverage:
14+
name: "Nette Tester"
15+
uses: contributte/.github/.github/workflows/nette-tester-coverage.yml@v1
16+
with:
17+
php: "8.1"

.github/workflows/main.yaml

Lines changed: 0 additions & 289 deletions
This file was deleted.

.github/workflows/phpstan.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "PHPStan"
2+
3+
on:
4+
pull_request:
5+
6+
push:
7+
branches: ["*"]
8+
9+
schedule:
10+
- cron: "0 8 * * 1"
11+
12+
jobs:
13+
phpstan:
14+
name: "PHPStan"
15+
uses: contributte/.github/.github/workflows/phpstan.yml@v1

.github/workflows/tests.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Nette Tester"
2+
3+
on:
4+
pull_request:
5+
6+
push:
7+
branches: ["*"]
8+
9+
schedule:
10+
- cron: "0 8 * * 1"
11+
12+
jobs:
13+
test81:
14+
name: "Nette Tester"
15+
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
16+
with:
17+
php: "8.1"
18+
19+
test80:
20+
name: "Nette Tester"
21+
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
22+
with:
23+
php: "8.0"
24+
25+
test-lowest:
26+
name: "Nette Tester"
27+
uses: contributte/.github/.github/workflows/nette-tester.yml@v1
28+
with:
29+
php: "8.0"
30+
composer: "composer update --no-interaction --no-progress --prefer-dist --prefer-stable --prefer-lowest"

0 commit comments

Comments
 (0)