Skip to content

ACMS-1934: Add drupal/config_sync_without_site_uuid project plugin. #1446

ACMS-1934: Add drupal/config_sync_without_site_uuid project plugin.

ACMS-1934: Add drupal/config_sync_without_site_uuid project plugin. #1446

Workflow file for this run

---
name: ORCA CI
on:
push:
# Prevent duplicate jobs on Dependabot PRs that interfere with automerge.
branches-ignore:
- 'dependabot/**'
pull_request:
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
env:
ORCA_SUT_NAME: acquia/drupal-recommended-project
ORCA_SUT_BRANCH: 1.x
ORCA_VERSION: ${{ matrix.orca-version }}
ORCA_JOB: ${{ matrix.orca-job }}
strategy:
matrix:
orca-job:
- STATIC_CODE_ANALYSIS
- INTEGRATED_TEST_ON_OLDEST_SUPPORTED
- INTEGRATED_TEST_ON_LATEST_LTS
# This is our custom job on 7.4
- ""
# Drupal core restricted to 9.x, upgrade not possible. So, skipping.
#- ISOLATED_TEST_ON_NEXT_MINOR
#- INTEGRATED_TEST_ON_NEXT_MINOR
#- ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_BETA_OR_LATER
#- ISOLATED_UPGRADE_TEST_TO_NEXT_MAJOR_DEV
#- ISOLATED_TEST_ON_CURRENT
#- INTEGRATED_TEST_ON_CURRENT
#- ISOLATED_TEST_ON_CURRENT_DEV
#- INTEGRATED_TEST_ON_CURRENT_DEV
#- INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR
#- INTEGRATED_TEST_ON_NEXT_MINOR_DEV
#- ISOLATED_TEST_ON_NEXT_MINOR_DEV
#- INTEGRATED_UPGRADE_TEST_TO_NEXT_MINOR_DEV
# We do not run deprecated code scans since they'd scan the entire
# codebase (since the SUT is the project template).
php-version: [ "7.4" ]
orca-version: [ "^3" ]
include:
- orca-job: INTEGRATED_TEST_ON_OLDEST_SUPPORTED
php-version: "8.0"
orca-version: "^3"
- orca-job: INTEGRATED_TEST_ON_OLDEST_SUPPORTED
php-version: "8.1"
orca-version: "^4"
- orca-job: INTEGRATED_TEST_ON_LATEST_LTS
php-version: "8.0"
orca-version: "^3"
- orca-job: INTEGRATED_TEST_ON_LATEST_LTS
php-version: "8.1"
orca-version: "^4"
- orca-job: INTEGRATED_TEST_ON_LATEST_LTS
php-version: "8.2"
orca-version: "^4"
# These are our custom jobs to ensure composer install works
- orca-job: ""
php-version: "8.0"
orca-version: "^3"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug2
- name: Before install
run: |
composer create-project --no-dev acquia/orca ../orca "$ORCA_VERSION"
../orca/bin/ci/before_install.sh
if [[ ! "$ORCA_JOB" ]]; then composer install; fi
- name: Install
run: ../orca/bin/ci/install.sh
- name: Before script
run: ../orca/bin/ci/before_script.sh
- name: Script
run: ../orca/bin/ci/script.sh
- name: After script
run: ../orca/bin/ci/after_script.sh
- name: After success
if: ${{ success() }}
run: ../orca/bin/ci/after_success.sh
- name: After failure
if: ${{ failure() }}
run: ../orca/bin/ci/after_failure.sh
# Require all checks to pass without having to enumerate them in the branch protection UI.
# @see https://github.community/t/is-it-possible-to-require-all-github-actions-tasks-to-pass-without-enumerating-them/117957
all-successful:
if: always()
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
- name: All checks successful
run: echo "🎉"