Skip to content

Commit

Permalink
add: Testsuites for Silverstripe 5 (#12)
Browse files Browse the repository at this point in the history
* add: Testsuites for Silverstripe 5

* allow phpstan v5

* execute phpunit
  • Loading branch information
mleutenegger authored Jun 28, 2023
1 parent a72b023 commit b916ab4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ on:
- master

jobs:
silverstripe-module:
name: 🧰 Silverstripe Module Testsuite
uses: syntro-opensource/workflows/.github/workflows/silverstripe-module.yml@master
silverstripe-module-4:
name: 🧰 Silverstripe Module Testsuite v4
uses: syntro-opensource/workflows/.github/workflows/silverstripe-module.yml@4
with:
phpunit: false
phpunit: true
phpstan: true
phpcs: true
silverstripe-module-5:
name: 🧰 Silverstripe Module Testsuite v5
uses: syntro-opensource/workflows/.github/workflows/silverstripe-module.yml@5
with:
phpunit: true
phpstan: true
phpcs: true
# silverstripe-client:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"syntro/silverstripe-phpstan": "^1",
"syntro/silverstripe-phpstan": "^1 || ^5",
"phpunit/phpunit": "^9.5"
},
"keywords": [
Expand Down

0 comments on commit b916ab4

Please sign in to comment.