Skip to content

Commit

Permalink
Minor improvements to tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mahagr committed Dec 7, 2021
1 parent f33f89c commit 4707975
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:

unit-tests:
phpstan-tests:

runs-on: ${{ matrix.os }}

Expand Down
11 changes: 7 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"symfony/event-dispatcher": "^3.4|^4.0"
},
"require-dev": {
"phpunit/phpunit": "~8.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^8.0",
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-deprecation-rules": "^1.0"
},
"autoload": {
Expand All @@ -30,7 +30,10 @@
"RocketTheme\\Toolbox\\ResourceLocator\\": "ResourceLocator/src",
"RocketTheme\\Toolbox\\Session\\": "Session/src",
"RocketTheme\\Toolbox\\StreamWrapper\\": "StreamWrapper/src"
}
},
"exclude-from-classmap": [
"**/tests/"
]
},
"archive": {
"exclude": [
Expand All @@ -40,6 +43,6 @@
"scripts": {
"test": "vendor/bin/phpunit run unit",
"test-windows": "vendor\\bin\\phpunit run unit",
"phpstan": "vendor/bin/phpstan analyse -l 8 -c ./tests/phpstan/phpstan.neon . --memory-limit=128M"
"phpstan": "vendor/bin/phpstan analyse -l 8 -c ./tests/phpstan/phpstan.neon . --memory-limit=128M --no-progress"
}
}

0 comments on commit 4707975

Please sign in to comment.