Skip to content

Commit

Permalink
Merge pull request #301 from localgovdrupal/fix/1.x/fix-paratest
Browse files Browse the repository at this point in the history
Fix running Paratest in Github Actions
  • Loading branch information
stephen-cox committed Jan 16, 2024
2 parents e6dab0b + ff76ef6 commit 9b8b8ae
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_alert_banner drupal-module

on:
Expand Down Expand Up @@ -215,4 +212,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 9b8b8ae

Please sign in to comment.