Skip to content

Commit

Permalink
Adjust Github workflow to workaround dev package install failure
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-cox committed Feb 7, 2025
1 parent 4aab87a commit 29f2bf3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ jobs:
run: composer create-project --stability dev localgovdrupal/localgov-project:${COMPOSER_REF} ./html

- name: Obtain all dev dependencies for LocalGov Drupal
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
run: |
# We haven't aliased dev packages so this fails.
#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
# Just install the ones we need for now.
composer install drupal/geofield_map drupal/group
phpcs:
name: Coding standards checks
Expand Down

0 comments on commit 29f2bf3

Please sign in to comment.