Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing exception testing. #391

Draft
wants to merge 6 commits into
base: xdmod11.0
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,19 @@ 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: |
composer install -d $XDMOD_SRC_DIR --no-progress
- 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'
Expand All @@ -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: >
Expand All @@ -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

Expand Down