Skip to content

Commit

Permalink
[INTERNAL] fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Dec 31, 2024
1 parent fd2aa6e commit 1a38890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Run PHPunit
run: |
docker run --rm --volumes-from temp-ps -v $PWD:/var/www/html/modules/mollie -w /var/www/html/modules/mollie php:7.4-cli vendor/bin/phpunit -c tests/phpunit.xml
docker run --rm --volumes-from temp-ps -v $PWD:/web/module -e _PS_ROOT_DIR_=/var/www/html --workdir=/web/module vendor/bin/phpunit -c tests/phpunit.xml
shell: bash

phpstan:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
run: docker run -tid --rm -v ps-volume:/var/www/html --name temp-ps prestashop/prestashop:${{ matrix.presta-versions }}

- name: Run PHPStan
run: docker run --rm --volumes-from temp-ps -v $PWD:/web/module -e _PS_ROOT_DIR_=/var/www/html --workdir=/web/module phpstan/phpstan:0.12 analyse --configuration=/web/module/tests/phpstan/phpstan_base.neon --debug --error-format github
run: docker run --rm --volumes-from temp-ps -v $PWD:/web/module -e _PS_ROOT_DIR_=/var/www/html --workdir=/web/module jitesoft/phpunit analyse --configuration=/web/module/tests/phpstan/phpstan_base.neon --debug --error-format github

prepare-zip:
name: Prepare module ZIP artifact
Expand Down

0 comments on commit 1a38890

Please sign in to comment.