Skip to content

Commit 643c0d8

Browse files
committed
going back to command that worked 5 days ago for compatibility tests
1 parent 27b6701 commit 643c0d8

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/test-integrations.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -280,26 +280,28 @@ jobs:
280280
run: docker build -t consul:local -f ./build-support/docker/Consul-Dev.dockerfile .
281281
- name: Compatibility Integration Tests
282282
run: |
283-
mkdir -p "${{ env.TEST_RESULTS_DIR }}"
284-
cd ./test/integration/consul-container
285-
docker run --rm consul:local consul version
286-
gotestsum \
287-
--raw-command \
288-
--format=short-verbose \
289-
--debug \
290-
--rerun-fails=3 \
291-
--packages="./..." \
292-
-- \
293-
go test \
294-
-p=4 \
295-
-timeout=30m \
296-
-json \
297-
`go list ./... | grep -v upgrade` \
298-
--target-image consul \
299-
--target-version local \
300-
--latest-image consul \
301-
--latest-version latest
302-
ls -lrt
283+
mkdir -p "/tmp/test-results"
284+
cd ./test/integration/consul-container
285+
docker run --rm consul:local consul version
286+
# shellcheck disable=SC2046
287+
gotestsum \
288+
--raw-command \
289+
--format=short-verbose \
290+
--debug \
291+
--rerun-fails=3 \
292+
--packages="./..." \
293+
-- \
294+
go test \
295+
-p=4 \
296+
-tags "" \
297+
-timeout=30m \
298+
-json \
299+
$(go list ./... | grep -v upgrade) \
300+
--target-image consul \
301+
--target-version local \
302+
--latest-image consul \
303+
--latest-version latest
304+
ls -lrt
303305
env:
304306
# this is needed because of incompatibility between RYUK container and circleci
305307
GOTESTSUM_JUNITFILE: ${{ env.TEST_RESULTS_DIR }}/results.xml

0 commit comments

Comments
 (0)