Skip to content
Snippets Groups Projects
Commit f1efef29 authored by Kay Effenberger's avatar Kay Effenberger
Browse files

CI:add test-scheme for feature branches

parent 11f19267
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ test-scheme: ...@@ -163,7 +163,7 @@ test-scheme:
services: services:
- name: postgres:13 - name: postgres:13
alias: postgres alias: postgres
- name: autoradio/tank:unstable - name: $CI_REGISTRY_IMAGE:$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
entrypoint: ["/bin/bash"] entrypoint: ["/bin/bash"]
command: command:
- '-c' - '-c'
...@@ -197,6 +197,7 @@ test-scheme: ...@@ -197,6 +197,7 @@ test-scheme:
- CHECKS: response_schema_conformance - CHECKS: response_schema_conformance
script: script:
- schemathesis run -c "$CHECKS" -b http://tank:"$TANK_PORT" --hypothesis-suppress-health-check too_slow $OPENAPI_JSON - schemathesis run -c "$CHECKS" -b http://tank:"$TANK_PORT" --hypothesis-suppress-health-check too_slow $OPENAPI_JSON
rules: *feature-rules
allow_failure: true allow_failure: true
docker-hub-push: docker-hub-push:
......
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