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 1a38890 commit f48ebee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:

- name: Run PHPunit
run: |
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
# botsudo/phpunit
docker run --rm --volumes-from temp-ps -v $PWD:/web/module -e _PS_ROOT_DIR_=/var/www/html --workdir=/web/module botsudo/phpunit -c tests/phpunit.xml
shell: bash

phpstan:
Expand Down Expand Up @@ -68,7 +69,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 jitesoft/phpunit 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 phpstan/phpstan:0.12 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 f48ebee

Please sign in to comment.