Skip to content

Commit

Permalink
Run tests against 10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-cox committed Jun 6, 2024
1 parent 6c870cd commit 39e6dbf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/localgov_microsites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
localgov-version:
- '4.x'
drupal-version:
- '~10.0'
- '~10.3'
php-version:
- '8.1'
- '8.2'
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Get the latest tagged release for branch version
run: |
LATEST_RELEASE=$(curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/${GITHUB_REPOSITORY}/git/matching-refs/tags/${GIT_BASE%'.x'} | grep -Po '(?<=refs/tags/)[^"]+' | tail -1)
if [ -z $LATEST_RELEASE ]; then LATEST_RELEASE=2.x-dev; fi
if [ -z $LATEST_RELEASE ]; then LATEST_RELEASE=4.x-dev; fi
echo "LATEST_RELEASE=${LATEST_RELEASE}" >> $GITHUB_ENV
- name: Cached workspace
Expand All @@ -81,6 +81,7 @@ jobs:
run: |
composer create-project --stability dev --no-install localgovdrupal/localgov_microsites_project ./html "${{ matrix.localgov-version }}"
composer --working-dir=./html require --no-install localgovdrupal/localgov_microsites:${{ matrix.localgov-version }}-dev
sed -i 's/\@stable//' ./html/composer.json
composer --working-dir=./html require --no-install drupal/core-recommended:${{ matrix.drupal-version }} drupal/core-composer-scaffold:${{ matrix.drupal-version }} drupal/core-project-message:${{ matrix.drupal-version }} drupal/core-dev:${{ matrix.drupal-version }}
composer --working-dir=./html install
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:
localgov-version:
- '4.x'
drupal-version:
- '~10.0'
- '~10.3'
php-version:
- '8.1'
- '8.2'
Expand Down Expand Up @@ -144,7 +145,7 @@ jobs:
localgov-version:
- '4.x'
drupal-version:
- '~10.0'
- '~10.3'
php-version:
- '8.1'
- '8.2'
Expand Down Expand Up @@ -179,7 +180,7 @@ jobs:
localgov-version:
- '4.x'
drupal-version:
- '~10.0'
- '~10.3'
php-version:
- '8.1'
- '8.2'
Expand Down

0 comments on commit 39e6dbf

Please sign in to comment.