Skip to content
Snippets Groups Projects
Commit 4a343a8d authored by Michal Zander's avatar Michal Zander
Browse files

Add pattern test job

parent 52f35107
No related branches found
No related tags found
1 merge request!171Unify API returns to sql composite types, add pattern tests for REST API
......@@ -392,6 +392,37 @@ performance-test:
tags:
- data-cache-storage
pattern-test:
extends: .pytest_based_template
stage: test
needs:
- job: sync
artifacts: true
- job: docker-setup-docker-image-build
artifacts: true
- job: prepare_haf_image
artifacts: true
services:
- *hfm-only-service
- *postgrest-service
variables:
DATA_SOURCE: ${DATA_CACHE_HAF_PREFIX}_${HAF_COMMIT}_${CI_PIPELINE_ID}
JUNIT_REPORT: $CI_PROJECT_DIR/tests/tavern/report.xml
PYTEST_BASED_IMAGE_NAME: $BUILDER_IMAGE_PATH
POETRY_INSTALL_ROOT_DIR: $CI_PROJECT_DIR/haf/hive/tests/python/hive-local-tools
BTRACKER_ADDRESS: postgrest-server
BTRACKER_PORT: 3000
TAVERN_DIR: $CI_PROJECT_DIR/tests/tavern
script:
- |
cd $CI_PROJECT_DIR/tests/tavern
pytest -n $PYTEST_NUMBER_OF_PROCESSES --junitxml report.xml .
artifacts:
paths:
- "**/*.out.json"
tags:
- data-cache-storage
build_and_publish_image:
stage: publish
extends: .publish_docker_image_template
......
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