|
|
@ -19,6 +19,7 @@ jobs: |
|
|
|
build: |
|
|
|
build: |
|
|
|
# The type of runner that the job will run on |
|
|
|
# The type of runner that the job will run on |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
fail-fast: false |
|
|
|
fail-fast: false |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
@ -102,7 +103,6 @@ jobs: |
|
|
|
cd $DRUPAL_DIR |
|
|
|
cd $DRUPAL_DIR |
|
|
|
chmod -R u+w web/sites/default |
|
|
|
chmod -R u+w web/sites/default |
|
|
|
mkdir -p web/sites/simpletest/browser_output |
|
|
|
mkdir -p web/sites/simpletest/browser_output |
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Setup composer paths |
|
|
|
- name: Setup composer paths |
|
|
|
run: | |
|
|
|
run: | |
|
|
@ -117,18 +117,15 @@ jobs: |
|
|
|
cd $DRUPAL_DIR/web |
|
|
|
cd $DRUPAL_DIR/web |
|
|
|
drush --uri=127.0.0.1:8282 en -y islandora_audio islandora_breadcrumbs islandora_iiif islandora_image islandora_video islandora_text_extraction_defaults |
|
|
|
drush --uri=127.0.0.1:8282 en -y islandora_audio islandora_breadcrumbs islandora_iiif islandora_image islandora_video islandora_text_extraction_defaults |
|
|
|
drush --uri=127.0.0.1:8282 fim -y islandora_core_feature,islandora_text_extraction_defaults |
|
|
|
drush --uri=127.0.0.1:8282 fim -y islandora_core_feature,islandora_text_extraction_defaults |
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Copy PHPunit file |
|
|
|
- name: Copy PHPunit file |
|
|
|
run: cp $PHPUNIT_FILE $DRUPAL_DIR/web/core/phpunit.xml |
|
|
|
run: cp $PHPUNIT_FILE $DRUPAL_DIR/web/core/phpunit.xml |
|
|
|
|
|
|
|
|
|
|
|
- name: Test scripts |
|
|
|
- name: Test scripts |
|
|
|
run: $SCRIPT_DIR/travis_scripts.sh |
|
|
|
run: $SCRIPT_DIR/travis_scripts.sh |
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: PHPUNIT tests |
|
|
|
- name: PHPUNIT tests |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
cd $DRUPAL_DIR/web/core |
|
|
|
cd $DRUPAL_DIR/web/core |
|
|
|
$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite "${{ matrix.test-suite }}" |
|
|
|
$DRUPAL_DIR/vendor/bin/phpunit --verbose --testsuite "${{ matrix.test-suite }}" |
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|