Browse Source

Per step not job. (#866)

pull/867/head
Jordan Dukart 2 years ago committed by GitHub
parent
commit
e0152eaa8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .github/workflows/build-2.x.yml

5
.github/workflows/build-2.x.yml

@ -19,7 +19,6 @@ 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:
@ -197,6 +196,7 @@ 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: |
@ -211,15 +211,18 @@ 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 }}

Loading…
Cancel
Save