Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 5 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,8 @@ on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
php-versions: ["8.3", "8.4"]
drupal-version: ["10.6", "11.3"]

name: PHP ${{ matrix.php-versions }} | Drupal ${{ matrix.drupal-version }}

steps:
- name: Checkout code
uses: actions/checkout@v5

- name: Create docker network
run: docker network create ci-default

- name: PHPUnit tests
run: |
docker run \
--rm \
--name drupal \
--hostname drupal \
--volume $(pwd):/var/www/drupal/web/modules/contrib/$ENABLE_MODULES:ro \
--env ENABLE_MODULES \
--network ci-default \
ghcr.io/islandora/ci:${{ matrix.drupal-version }}-php${{ matrix.php-versions }}
env:
ENABLE_MODULES: islandora_iiif_hocr_extend
islandora-module-ci:
uses: digitalutsc/reusable_workflows/.github/workflows/islandora-module-ci.yml@main
with:
module_name: islandora_iiif_hocr_extend
install_chromedriver: false
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"name": "islandora_lite/islandora_iiif_hocr_extend",
"type": "drupal-module",
"description": "Extends Islandora IIIF HOCR module to extract and index text version of hocr xml data.",
"keywords": ["Drupal"]
"keywords": ["Drupal"],
"require": {
"drupal/core": "^10 || ^11"
}
}