Skip to content

Commit 3f59fbd

Browse files
committed
chore: add mockery and workflow triggers per spec
- Add mockery/mockery to dev dependencies - Add workflow_dispatch trigger to all workflows - Add weekly schedule trigger to tests workflow
1 parent 7000b93 commit 3f59fbd

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

.github/workflows/codesniffer.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "**"
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
codesniffer:

.github/workflows/phpstan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "**"
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
phpstan:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- "**"
77
pull_request:
8+
workflow_dispatch:
9+
schedule:
10+
- cron: "0 8 * * 1"
811

912
jobs:
1013
tests:

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"require-dev": {
2727
"contributte/qa": "^0.4",
2828
"contributte/phpstan": "^0.1",
29+
"mockery/mockery": "^1.6",
2930
"nette/application": "^3.2",
3031
"nette/di": "^3.2",
3132
"nette/tester": "^2.5"

0 commit comments

Comments
 (0)