Revert "Skip more efficiently"

This reverts commit 9205b809b0.
This commit is contained in:
Tom Limoncelli 2023-01-11 10:23:23 -05:00
parent 9205b809b0
commit 839abd122e

View file

@ -94,30 +94,26 @@ jobs:
type: string
steps:
when:
condition:
- matches: { pattern: "^.$", value: << parameters.provider >>_DOMAIN }
steps:
- checkout
- run: mkdir -p "$TEST_RESULTS"
- checkout
- run: mkdir -p "$TEST_RESULTS"
- restore_cache: # restores saved cache if no changes are detected since last run
keys:
- linux-go-{{ checksum "go.sum" }}-<< pipeline.parameters.cache-key >>
- restore_cache: # restores saved cache if no changes are detected since last run
keys:
- linux-go-{{ checksum "go.sum" }}-<< pipeline.parameters.cache-key >>
- run:
name: Run integration tests for << parameters.provider >> provider
working_directory: integrationTest
no_output_timeout: 32m
command: |
if [ -n "$<< parameters.provider >>_DOMAIN" ] ; then
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- -timeout 30m -v -verbose -provider << parameters.provider >> -cfworkers=false
else
echo "Skip test for << parameters.provider >> provider"
fi
- run:
name: Run integration tests for << parameters.provider >> provider
working_directory: integrationTest
no_output_timeout: 32m
command: |
if [ -n "$<< parameters.provider >>_DOMAIN" ] ; then
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- -timeout 30m -v -verbose -provider << parameters.provider >> -cfworkers=false
else
echo "Skip test for << parameters.provider >> provider"
fi
- store_test_results: # upload test results for display in Test Summary
path: /tmp/test-results
- store_test_results: # upload test results for display in Test Summary
path: /tmp/test-results
release:
docker: