Github Actions: Debug bbox test params (#857)

Somehow test fails on options in github actions, add debugging output for that cmd
This commit is contained in:
Yuri Astrakhan 2020-05-06 13:51:38 -04:00 committed by GitHub
parent 864eba51b3
commit d9fb768af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,9 +200,9 @@ jobs:
cp cache/wikidata-cache.json ../ci_cache/wikidata-cache.json cp cache/wikidata-cache.json ../ci_cache/wikidata-cache.json
fi fi
profile test-perf docker-compose run --rm -T openmaptiles-tools \ (set -x; profile test-perf docker-compose run --rm -T openmaptiles-tools \
test-perf openmaptiles.yaml $TEST_PERF_PARAMS \ test-perf openmaptiles.yaml $TEST_PERF_PARAMS \
--record /tileset/results.json --record /tileset/results.json)
mv results.json ../perf_cache mv results.json ../perf_cache
if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
@ -234,7 +234,7 @@ jobs:
create_db create_db
cp ../perf_cache/results.json . cp ../perf_cache/results.json .
OUTPUT="$(profile test-perf docker-compose run --rm -T openmaptiles-tools \ OUTPUT="$(set -x; profile test-perf docker-compose run --rm -T openmaptiles-tools \
test-perf openmaptiles.yaml $TEST_PERF_PARAMS \ test-perf openmaptiles.yaml $TEST_PERF_PARAMS \
--compare /tileset/results.json --record /tileset/pr-results.json)" --compare /tileset/results.json --record /tileset/pr-results.json)"
rm results.json rm results.json