diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8dec3a546..17b425c78 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,6 +12,7 @@ on: env: DRUPAL_TESTING_COMPOSER_PROJECT: thunder/thunder-project DRUPAL_TESTING_COMPOSER_PROJECT_VERSION: "^4.0@stable" + DRUPAL_TESTING_CLEANUP: false DRUPAL_TESTING_DATABASE_USER: root DRUPAL_TESTING_DATABASE_PASSWORD: root DRUPAL_TESTING_TEST_DUMP_FILE: site-dump.tar.gz @@ -28,6 +29,7 @@ env: DRUPAL_TESTING_PARALLEL_TESTING: false MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://127.0.0.1:9515"]' SIMPLETEST_BASE_URL: http://thunder-testing:8888 + BROWSERTEST_OUTPUT_DIRECTORY: /tmp SKIP_TEST_CLEANUP: true # The following variable set the version that the upgrade test starts with. DRUPAL_TESTING_UPGRADE_COMPOSER_PROJECT_VERSION: 3.0.12 @@ -168,6 +170,13 @@ jobs: THUNDER_TEST_CHUNK: ${{ matrix.CHUNK }} DRUPAL_TESTING_TEST_PATH: /tmp/test/thunder/install/docroot/profiles/contrib/thunder/tests/src/TestSuites/ThunderTestSuite.php + - name: Upload test output + uses: actions/upload-artifact@v4 + if: success() || failure() + with: + name: text-max-output-${{ matrix.CHUNK }}-${{ matrix.PHP_VERSION }} + path: /tmp/test/thunder/install/docroot/sites/simpletest/browser_output/ + test-upgrade: runs-on: ubuntu-24.04