Skip to content

Commit 9a97a81

Browse files
authoredFeb 20, 2024··
Merge branch ACMS-3568 into develop. (#37)
1 parent acc368c commit 9a97a81

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3591
-61
lines changed
 

‎.github/workflows/drs_ci.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -47,29 +47,34 @@ jobs:
4747
../orca/bin/ci/after_failure.sh
4848
../orca/bin/ci/after_script.sh
4949
PHPUNIT_TESTS:
50-
name: "Execute PHPUnit tests"
50+
name: "Run PHPUnit tests on PHP: ${{ matrix.php-version }}"
5151
runs-on: ubuntu-latest
52+
strategy:
53+
matrix:
54+
php-version:
55+
- 8.1
56+
- 8.2
57+
- 8.3
5258
env:
53-
ORCA_FIXTURE_DIR: "/home/runner/work/drupal-recommended-settings/orca-build"
59+
ORCA_JOB: ISOLATED_TEST_ON_CURRENT
5460
CI: TRUE
5561
steps:
5662
- uses: actions/checkout@v3
5763
- uses: shivammathur/setup-php@v2
5864
with:
59-
php-version: 8.2
65+
php-version: ${{ matrix.php-version }}
6066
coverage: xdebug
67+
ini-file: development
6168
- name: Download ORCA
6269
run: composer create-project --no-dev --ignore-platform-req=php acquia/orca ../orca "$ORCA_VERSION" -n
6370
- name: Before Install
6471
run: ../orca/bin/ci/before_install.sh
6572
- name: Install
6673
run: ../orca/bin/ci/install.sh
67-
- name: Before script
74+
- name: Before Script
6875
run: ../orca/bin/ci/before_script.sh
69-
- name: Run PHPUnit tests
70-
run: |
71-
composer install
72-
./vendor/bin/phpunit tests
76+
- name: Script
77+
run: ../orca/bin/ci/script.sh
7378
- name: After script
7479
run: |
7580
../orca/bin/ci/after_success.sh

‎composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"acquia/coding-standards": "^2.0",
3131
"composer/composer": "^2.2",
3232
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
33+
"drush/drush": "^11.6 || ^12",
3334
"ergebnis/composer-normalize": "^2.30.2",
3435
"phpro/grumphp-shim": "^2.2",
3536
"phpunit/phpunit": "^9 || ^10"

0 commit comments

Comments
 (0)
Please sign in to comment.