Skip to content

Commit

Permalink
Fix running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mjanser committed Oct 3, 2024
1 parent b99bf1f commit 63e00e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ jobs:
- name: Install tools
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer phive:install --no-interaction --no-progress --ansi
docker compose -f compose.yaml -f compose.tests.yaml exec app composer phive:install --no-interaction --no-progress --no-ansi
- name: PHP-CS-Fixer
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer cs:check
docker compose -f compose.yaml -f compose.tests.yaml exec app tools/php-cs-fixer.phar fix --no-ansi --dry-run --diff
- name: PHPStan
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer phpstan:check
docker compose -f compose.yaml -f compose.tests.yaml exec app vendor/bin/phpstan --no-ansi --configuration phpstan.test.neon analyze
- name: Rector
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer rector:check
docker compose -f compose.yaml -f compose.tests.yaml exec app vendor/bin/rector --no-ansi --dry-run
- name: Tests
shell: bash
run: |
docker compose -f compose.yaml -f compose.tests.yaml exec app composer phpunit:check
docker compose -f compose.yaml -f compose.tests.yaml exec app tools/phpunit.phar
- name: Stop stack
if: always()
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"post-update-cmd": [
"@auto-scripts"
],
"cs:check": "tools/php-cs-fixer.phar fix --dry-run --show-progress=dots",
"cs:fix": "tools/php-cs-fixer.phar fix --verbose --show-progress=dots",
"cs:check": "tools/php-cs-fixer.phar fix --dry-run --diff",
"cs:fix": "tools/php-cs-fixer.phar fix --verbose",
"phive:install": "phive --no-progress install --trust-gpg-keys 0x4AA394086372C20A,0xE82B2FB314E9906E",
"phpstan:check": "vendor/bin/phpstan analyze",
"rector:check": "vendor/bin/rector --dry-run",
Expand Down

0 comments on commit 63e00e9

Please sign in to comment.