Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/codeception-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Codeception Tests - develop

on:
push:
workflow_dispatch:
schedule:
- cron: "0 2 * * 1"


jobs:
tests:
uses: humhub/module-coding-standards/.github/workflows/codeception-develop.yml@main
with:
module-id: rest
13 changes: 13 additions & 0 deletions .github/workflows/codeception-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Codeception Tests - master

on:
push:
workflow_dispatch:
schedule:
- cron: "0 1 * * 1"

jobs:
tests:
uses: humhub/module-coding-standards/.github/workflows/codeception-master.yml@main
with:
module-id: rest
14 changes: 14 additions & 0 deletions .github/workflows/codeception-min-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Codeception Tests - min version

on:
push:
workflow_dispatch:
schedule:
- cron: "0 4 * * 1"


jobs:
tests:
uses: humhub/module-coding-standards/.github/workflows/codeception-min-version.yml@main
with:
module-id: rest
14 changes: 14 additions & 0 deletions .github/workflows/codeception-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Codeception Tests - next

on:
push:
workflow_dispatch:
schedule:
- cron: "0 3 * * 1"


jobs:
tests:
uses: humhub/module-coding-standards/.github/workflows/codeception-next.yml@main
with:
module-id: rest
8 changes: 5 additions & 3 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: PHP CS Fixer

on: push
on:
push:
workflow_dispatch:

jobs:
tests:
uses: humhub/actions/.github/workflows/module-php-cs-fixer.yml@main
fixers:
uses: humhub/module-coding-standards/.github/workflows/php-cs-fixer.yml@main
13 changes: 0 additions & 13 deletions .github/workflows/php-test-develop.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/php-test-master.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/php-test-min-version.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/php-test-next.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/workflows/rector-auto-pr.yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Rector

on:
schedule:
- cron: "0 5 * * 5"
workflow_dispatch:

jobs:
rector:
uses: humhub/module-coding-standards/.github/workflows/rector-auto-pr.yaml@main
22 changes: 22 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "humhub/rest",
"type": "humhub-module",
"config": {
"platform": {
"php": "8.2"
}
},
"repositories": {
"humhub-module-coding-standards": {
"type": "vcs",
"url": "https://github.com/humhub/module-coding-standards.git"
}
},
"require-dev": {
"humhub/module-coding-standards": "dev-main"
},
"scripts": {
"rector": "vendor/bin/rector process --config=vendor/humhub/module-coding-standards/rector.php",
"fixer": "vendor/bin/php-cs-fixer fix --config=vendor/humhub/module-coding-standards/php-cs-fixer.php"
}
}
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Changelog
0.11.1 (Unreleased)
----------------------
- Enh #219: Improved Module Test GitHub Actions
- Enh #220: Implement module-coding-standards

0.11.0 (July 26, 2025)
----------------------
Expand Down