Skip to content

Commit

Permalink
Merge pull request #203 from pantheon-systems/SITE-1240
Browse files Browse the repository at this point in the history
SITE-1240 - Add Drupal 11 compatibility
  • Loading branch information
stovak authored Jan 28, 2025
2 parents 1b68013 + 43769bf commit fae9673
Show file tree
Hide file tree
Showing 22 changed files with 460 additions and 465 deletions.
5 changes: 5 additions & 0 deletions .codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
exclude_paths:
- RoboFile.php
- .github/workflows/ci.yml
- .github/workflows/create-branch-on-tag.yml
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
/circle.yml export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/codacy.yml export-ignore
/phpcs.xml export-ignore
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
SANDBOX_SSH_KEY: ${{ secrets.SANDBOX_SSH_KEY }}
BASH_ENV: ~/.bashrc
steps:

- name: Checkout
uses: actions/checkout@v2

Expand All @@ -38,18 +39,21 @@ jobs:

- name: Code sniff
run: composer run-script code:lint

phpcompatibility:
runs-on: ubuntu-latest
name: PHP Compatibility
steps:

- name: PHPCompatibility
uses: pantheon-systems/phpcompatibility-action@v1
with:
test-versions: 7.4-
test-versions: 8.1

build_test:
strategy:
matrix:
drupal-version: [ 10 ]
drupal-version: [ 10, 11 ]
fail-fast: false
runs-on: ubuntu-latest
container:
Expand All @@ -70,6 +74,7 @@ jobs:
BASH_ENV: ~/.bashrc
DRUPAL_VERSION: ${{ matrix.drupal-version }}
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -106,6 +111,7 @@ jobs:
if: ${{ always() }}
run: |
./vendor/bin/robo test:delete-sites
mirror_do:
runs-on: ubuntu-latest
name: Checkout & push to remote
Expand All @@ -116,16 +122,19 @@ jobs:
WORKSPACE: ${{ github.workspace }}
DRUPAL_ORG_REMOTE: ${{ secrets.DRUPAL_ORG_REMOTE }}
steps:

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: ignore

- name: Pushes to drupal.org repository
run: |
cd $WORKSPACE
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Search API Patheon 8.3.0
--------------------------------------------------
- Compatible with Pantheon Search (Solr 8)
- Compatible with Drupal 10.x
- Versions of Drupal less than 10 are not supported.
- Versions of PHP less than 8.1 are not supported

Search API Patheon 8.x-8.x-alpha1
--------------------------------------------------
- Compatible with Pantheon Search (Solr 8)
Expand Down
Loading

0 comments on commit fae9673

Please sign in to comment.