Skip to content

Commit fea9ab0

Browse files
authored
Merge pull request #87 from humhub/enh/module-coding-standards
Implement module-coding-standards
2 parents 1638c9f + 394c6db commit fea9ab0

12 files changed

+91
-60
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Codeception Tests - develop
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "0 2 * * 1"
8+
9+
10+
jobs:
11+
tests:
12+
uses: humhub/module-coding-standards/.github/workflows/codeception-develop.yml@main
13+
with:
14+
module-id: twofa
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Codeception Tests - master
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "0 1 * * 1"
8+
9+
jobs:
10+
tests:
11+
uses: humhub/module-coding-standards/.github/workflows/codeception-master.yml@main
12+
with:
13+
module-id: twofa
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Codeception Tests - min version
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "0 4 * * 1"
8+
9+
10+
jobs:
11+
tests:
12+
uses: humhub/module-coding-standards/.github/workflows/codeception-min-version.yml@main
13+
with:
14+
module-id: twofa
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Codeception Tests - next
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
schedule:
7+
- cron: "0 3 * * 1"
8+
9+
10+
jobs:
11+
tests:
12+
uses: humhub/module-coding-standards/.github/workflows/codeception-next.yml@main
13+
with:
14+
module-id: twofa

.github/workflows/php-cs-fixer.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: PHP CS Fixer
22

3-
on: push
3+
on:
4+
push:
5+
workflow_dispatch:
46

57
jobs:
6-
tests:
7-
uses: humhub/actions/.github/workflows/module-php-cs-fixer.yml@main
8+
fixers:
9+
uses: humhub/module-coding-standards/.github/workflows/php-cs-fixer.yml@main

.github/workflows/php-test-develop.yml

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

.github/workflows/php-test-master.yml

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

.github/workflows/php-test-min-version.yml

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

.github/workflows/php-test-next.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Rector
2+
3+
on:
4+
schedule:
5+
- cron: "0 5 * * 5"
6+
workflow_dispatch:
7+
8+
jobs:
9+
rector:
10+
uses: humhub/module-coding-standards/.github/workflows/rector-auto-pr.yaml@main

0 commit comments

Comments
 (0)