diff --git a/.circleci/config.yml b/.circleci/config.yml index e8892939..8f366b2d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -101,6 +101,9 @@ jobs: - run: name: Run Component Tests command: ./tests/component/runtests.sh --log-junit ~/phpunit/component.xml + - run: + name: Ensure that no XDMoD exceptions were logged + command: test ! -s /var/log/xdmod/exceptions.log - run: name: Make sure that the Composer Test Dependencies are installed command: | @@ -108,6 +111,9 @@ jobs: - run: name: Run Integration Tests command: ./tests/integration/runtests.sh --log-junit ~/phpunit/integration.xml + - run: + name: Ensure that no XDMoD exceptions were logged + command: test ! -f /root/xdmod/logs/exceptions.log - run: pushd $HOME && rm -f chromedriver_linux64.zip && wget https://chromedriver.storage.googleapis.com/98.0.4758.80/chromedriver_linux64.zip && popd - run: name: 'Bodge the nodejs version to run an older one for the webdriver tests' @@ -127,6 +133,9 @@ jobs: - run: name: Run Regression Tests command: ./tests/regression/runtests.sh --junit-output-dir ~/phpunit + - run: + name: Ensure that no XDMoD exceptions were logged + command: test ! -f /root/xdmod/logs/exceptions.log - run: name: Ensure that no PHP command-line errors were generated command: > @@ -141,6 +150,8 @@ jobs: path: /var/log/php-fpm - store_artifacts: path: /var/log/php_errors.log + - store_artifacts: + path: /root/xdmod/logs - store_test_results: path: ~/phpunit