Skip to content

Commit

Permalink
ACMS-3964: Debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkhode1 committed Jun 26, 2024
1 parent 37ed0b3 commit 37730f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/drs_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,21 @@ jobs:
matrix:
php-version:
- 8.1
- 8.2
- 8.3
# - 8.2
# - 8.3
orca-job:
- ISOLATED_TEST_ON_CURRENT
- INTEGRATED_TEST_ON_PREVIOUS_MINOR
- ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
exclude:
- orca-job: INTEGRATED_TEST_ON_PREVIOUS_MINOR
php-version: 8.3
- orca-job: INTEGRATED_TEST_ON_PREVIOUS_MINOR
php-version: 8.2
- orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
php-version: 8.1
- orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
php-version: 8.2
# - INTEGRATED_TEST_ON_PREVIOUS_MINOR
# - ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
# exclude:
# - orca-job: INTEGRATED_TEST_ON_PREVIOUS_MINOR
# php-version: 8.3
# - orca-job: INTEGRATED_TEST_ON_PREVIOUS_MINOR
# php-version: 8.2
# - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
# php-version: 8.1
# - orca-job: ISOLATED_TEST_ON_NEXT_MAJOR_LATEST_MINOR_BETA_OR_LATER
# php-version: 8.2
env:
ORCA_JOB: ${{ matrix.orca-job }}
CI: TRUE
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Before Install
run: ../orca/bin/ci/before_install.sh
- name: Install
run: ../orca/bin/ci/install.sh
run: ../orca/bin/ci/install.sh && chmod -R 777 ${ORCA_FIXTURE_DIR}/docroot/sites/default
- name: Before Script
run: ../orca/bin/ci/before_script.sh
- name: Script
Expand Down
4 changes: 4 additions & 0 deletions tests/src/FunctionalTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ protected function getProjectRoot(): string {
if ($files_copied) {
return $orca_fixture_dir;
}
if (!is_writable($orca_fixture_dir . "/docroot/sites")) {
print "Not writable";
chmod($orca_fixture_dir . "/docroot/sites/default", "0777");
}
// This code specifically needed in CI because we want to run tests by
// copying fixture files in actual drupal project where our plugin
// searches for this files to present.
Expand Down

0 comments on commit 37730f8

Please sign in to comment.