Skip to content

Commit

Permalink
Merge pull request #61 from localgovdrupal/fix/1.x/fix-paratest
Browse files Browse the repository at this point in the history
Fix running tests with Paratest in Github Actions
  • Loading branch information
finnlewis committed Jan 16, 2024
2 parents 200929e + c9619f3 commit 8b5ba7b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
##
# Managed by https://github.com/localgovdrupal/github_workflow_manager
---
name: Test localgovdrupal/localgov_forms drupal-module

on:
Expand Down Expand Up @@ -213,4 +210,4 @@ jobs:
mkdir -p ./html/web/sites/simpletest && chmod 777 ./html/web/sites/simpletest
sed -i "s#http://localgov.lndo.site#http://drupal#" ./html/phpunit.xml.dist
docker exec -t drupal bash -c 'chown docker:docker -R /var/www/html'
docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 ${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}"
docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}"

0 comments on commit 8b5ba7b

Please sign in to comment.