diff options
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index c951c903..0cbcdff6 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -44,7 +44,7 @@ nosetests_task: container: image: python:slim setup_script: pip install nose - nose_script: nosetests -v --with-cover --cover-package=sos tests/ + nose_script: nosetests -v --with-cover --cover-package=sos tests/unittests # Run a check on newer upstream python versions to check for possible # breaks/changes in common modules. This is not meant to check any of the actual @@ -63,9 +63,9 @@ py_break_task: main_script: ./bin/sos report --batch # Run our standard test script across multiple distros on GCP -report_function_task: - alias: "functional_report" - name: "Report functionality test - $BUILD_NAME" +report_stageone_task: + alias: "stageone_report" + name: "Report Stage One - $BUILD_NAME" gce_instance: &standardvm image_project: "${PROJECT}" image_name: "${VM_IMAGE_NAME}" @@ -94,8 +94,11 @@ report_function_task: BUILD_NAME: ${UBUNTU_PRIOR_NAME} VM_IMAGE_NAME: ${UBUNTU_PRIOR_IMAGE_NAME} # Ubuntu has sos installed by default, so remove that to avoid any conflicts - setup_script: | + remove_sos_script: | if [ $(command -v apt) ] && [ $(command -v sosreport) ]; then apt -y purge sosreport + apt update + apt -y install python3-pip fi - main_script: ./tests/simple.sh + setup_script: pip3 install avocado-framework==84.0 + main_script: PYTHONPATH=tests/ avocado run -t stageone tests/ |