Skip to content

Commit

Permalink
Test deprecated tests via script
Browse files Browse the repository at this point in the history
  • Loading branch information
joernott committed Apr 23, 2024
1 parent d0b7237 commit 67f2042
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/oxid-esales/scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,19 @@ runscript: &runscript
unit:
<<: *shop
custom_script_container: |
cd vendor/{{ $org}}/{{ $name }}
vendor/bin/phpunit -c phpunit.xml --bootstrap tests/bootstrap.php --coverage-clover=tests/Reports/coverage_phpunit_unit.xml --log-junit tests/Reports/phpunit-unit.xml tests/Unit 2>&1 | tee tests/Output/unit_tests.txt
integration:
<<: *shop
custom_script_container: |
cd vendor/{{ $org}}/{{ $name }}
vendor/bin/phpunit -c phpunit.xml --bootstrap tests/bootstrap.php --coverage-clover=tests/Reports/coverage_phpunit_integration.xml tests/Integration 2>&1 | tee tests/Output/integration_tests.txt
codeception:
<<: *shop
container:
options: '-e SELENIUM_SERVER_HOST=selenium -e BROWSER_NAME=chrome -e DB_NAME=setup_test -e DB_USERNAME=root -e DB_PASSWORD=root -e DB_HOST=mysql -e DB_PORT=3306 -e SHOP_URL=http://localhost.local/ -e SHOP_SOURCE_PATH=/var/www/vendor/oxid-esales/oxideshop-ce/source/ -e THEME_ID=apex -e SHOP_ROOT_PATH=/var/www'
custom_script_container: |
cd vendor/{{ $org}}/{{ $name }}
vendor/bin/codecept build -c tests/codeception.yml",
vendor/bin/codecept run acceptanceSetup -c tests/codeception.yml --ext DotReporter 2>&1 | tee tests/Output/codeception_ShopSetup.txt"
deprecated:
Expand Down

0 comments on commit 67f2042

Please sign in to comment.