File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3232 - name : Create LocalGov Drupal project
3333 run : composer create-project --stability dev localgovdrupal/localgov-project ./html "${{ matrix.localgov-version }}"
3434
35+ - name : Obtain all dev dependencies for LocalGov Drupal
36+ run : jq --raw-output '.packages[] | select(.name | startswith("localgovdrupal/")) | ."require-dev" | values | to_entries[] | @sh "\(.key):\(.value)"' ./html/composer.lock | sort | uniq | xargs composer --working-dir=./html require --dev --no-interaction
37+
3538 - name : Start Docker environment
3639 run : docker-compose up -d
3740
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ docker exec -t drupal bash -c "chown -R docker:docker /var/www/html"
1010# Ensure everything is up to date.
1111docker exec -u docker -t drupal bash -c " cd /var/www/html && composer install"
1212
13- # Obtain all dev dependencies for LocalGov Drupal
14- docker exec -u docker -t drupal bash -c " jq --raw-output '.packages[] | select(.name | startswith(" localgovdrupal/" )) | ." require-dev" | values | to_entries[] | @sh " \( .key):\( .value)" ' ./html/composer.lock | sort | uniq | xargs composer --working-dir=./html require --dev --no-interaction"
15-
1613# Coding standards checks.
1714echo " Checking coding standards"
1815docker exec -t drupal bash -c " cd /var/www/html && ./bin/phpcs -p"
You can’t perform that action at this time.
0 commit comments