Skip to content
Snippets Groups Projects

Prerequisites for reusing `.pattern_tests_template` in Hived and HAF-apps CI

Merged Bartek Wrona requested to merge bw_reusing_pattern_tests_template_defs into develop
@@ -36,7 +36,10 @@ variables:
before_script:
- python3 -m venv venv/
- . venv/bin/activate
- (cd "${POETRY_INSTALL_ROOT_DIR}" && poetry install)
- echo "Entering ${POETRY_INSTALL_ROOT_DIR}"
- cd "${POETRY_INSTALL_ROOT_DIR}"
- poetry install
artifacts:
reports:
junit: $JUNIT_REPORT
@@ -56,10 +59,7 @@ variables:
PATTERN_TESTS_DIR: "" # To be overrided in derived job
DIRECT_CALLS: 0 # To be overrided in derived job
TOX_VERSION: "3.25.1"
script:
- pip3 install tox==${TOX_VERSION} # maybe it should be added to some poetry config ?
# run pattern tests
- cd "${PATTERN_TESTS_DIR}"
- ./run_tests.sh ${TESTED_ENDPOINT} `git rev-parse --show-toplevel` "${TEST_SUITE}" ${DIRECT_CALLS}
@@ -140,3 +140,11 @@ variables:
script:
- cd "${COMPARISON_TESTS_DIR}"
- pytest -n 8 --junitxml="${JUNIT_REPORT}" --ref http://$HIVED_ENDPOINT --test http://$TESTED_ENDPOINT --start 4900000 --stop 4915000
artifacts:
paths:
- "$CI_JOB_NAME"
- "**/from_node.log"
- "**/ah.log"
- "**/*.out.json"
- "${COMPARISON_TESTS_DIR}/comparsion_tests.xml"
Loading