Skip to content
Snippets Groups Projects
Verified Commit 5d011419 authored by Dave Long's avatar Dave Long
Browse files

Issue #3403960 by alexpott, longwave: Store chromedriver log as an artifact

parent 4f726e04
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ default:
paths:
- ./sites/default/files/simpletest/phpunit-*.xml
- ./sites/simpletest/browser_output
- '*.log'
.default-job-settings: &default-job-settings
stage: 🗜️ Test
......@@ -80,8 +81,7 @@ variables:
entrypoint:
- chromedriver
- "--no-sandbox"
- "--log-path=/tmp/chromedriver.log"
- "--verbose"
- "--log-path=/builds/chromedriver.log"
- "--whitelisted-ips="
.run-tests: &run-tests
......@@ -150,6 +150,9 @@ variables:
services:
- <<: *with-database
- <<: *with-chrome
after_script:
- sed -i "s#$CI_PROJECT_DIR/##" ./sites/default/files/simpletest/phpunit-*.xml || true
- cp /builds/chromedriver.log ./
'👷️️️ PHPUnit Build':
<<: [ *with-composer, *run-tests, *default-job-settings ]
......@@ -191,6 +194,8 @@ variables:
- echo "DRUPAL_NIGHTWATCH_OUTPUT='"../nightwatch_output"'" >> ./core/.env
- chown -R www-data:www-data ./sites /var/www
- sudo -u www-data yarn run --cwd=./core test:nightwatch --workers=4
after_script:
- cp /builds/chromedriver.log ./
artifacts:
when: always
expire_in: 6 mos
......@@ -198,6 +203,7 @@ variables:
junit: ./nightwatch_output/**/*.xml
paths:
- ./nightwatch_output
- '*.log'
'🔁 Repeat Class Test':
<<: [ *with-composer, *run-repeat-class-test, *default-job-settings ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment