File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ continue-on-error : false
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ php-versions : ["8.3", "8.4"]
18+ drupal-version : ["10.6", "11.3"]
19+
20+ name : PHP ${{ matrix.php-versions }} | Drupal ${{ matrix.drupal-version }}
21+
22+ steps :
23+ - name : Checkout code
24+ uses : actions/checkout@v4
25+
26+ - name : Create docker network
27+ run : docker network create ci-default
28+
29+ - name : PHPUnit tests
30+ run : |
31+ docker run \
32+ --rm \
33+ --name drupal \
34+ --hostname drupal \
35+ --volume $(pwd):/var/www/drupal/web/modules/contrib/$ENABLE_MODULES:ro \
36+ --env ENABLE_MODULES \
37+ --network ci-default \
38+ ghcr.io/islandora/ci:${{ matrix.drupal-version }}-php${{ matrix.php-versions }}
39+ env :
40+ ENABLE_MODULES : islandora_iiif_hocr_extend
You can’t perform that action at this time.
0 commit comments