diff --git a/src/TesApi.Web/tes-compliance-test/entrypoint.sh b/src/TesApi.Web/tes-compliance-test/entrypoint.sh index 077fdc868..c11becc23 100644 --- a/src/TesApi.Web/tes-compliance-test/entrypoint.sh +++ b/src/TesApi.Web/tes-compliance-test/entrypoint.sh @@ -7,3 +7,7 @@ tespassword=$(jq -r '.TesPassword' TesCredentials.json) # openapi-test-runner repo provides a default entry point script, but since TES uses basic auth it needs to be replaced to add approprite credentials # https://github.com/elixir-cloud-aai/openapi-test-runner openapi-test-runner report --server http://$tesuser:$tespassword@$teshostname/ --version 1.0.0 --output_path results +mv results/report.json results/report-tes-1.0.0.json +openapi-test-runner report --server http://$tesuser:$tespassword@$teshostname/ --version 1.1.0 --output_path results +mv results/report.json results/report-tes-1.1.0.json +jq -n 'reduce inputs as $s (.; .[input_filename] += $s)' results/report-tes-1.0.0.json results/report-tes-1.1.0.json > results/report.json