Skip to content

Commit

Permalink
going back to command that worked 5 days ago for compatibility tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Apr 12, 2023
1 parent f9b4bd3 commit cf7bea7
Showing 1 changed file with 22 additions and 20 deletions.
42 changes: 22 additions & 20 deletions .github/workflows/test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,26 +280,28 @@ jobs:
run: docker build -t consul:local -f ./build-support/docker/Consul-Dev.dockerfile .
- name: Compatibility Integration Tests
run: |
mkdir -p "${{ env.TEST_RESULTS_DIR }}"
cd ./test/integration/consul-container
docker run --rm consul:local consul version
gotestsum \
--raw-command \
--format=short-verbose \
--debug \
--rerun-fails=3 \
--packages="./..." \
-- \
go test \
-p=4 \
-timeout=30m \
-json \
`go list ./... | grep -v upgrade` \
--target-image consul \
--target-version local \
--latest-image consul \
--latest-version latest
ls -lrt
mkdir -p "/tmp/test-results"
cd ./test/integration/consul-container
docker run --rm consul:local consul version
# shellcheck disable=SC2046
gotestsum \
--raw-command \
--format=short-verbose \
--debug \
--rerun-fails=3 \
--packages="./..." \
-- \
go test \
-p=4 \
-tags "" \
-timeout=30m \
-json \
$(go list ./... | grep -v upgrade) \
--target-image consul \
--target-version local \
--latest-image consul \
--latest-version latest
ls -lrt
env:
# this is needed because of incompatibility between RYUK container and circleci
GOTESTSUM_JUNITFILE: ${{ env.TEST_RESULTS_DIR }}/results.xml
Expand Down

0 comments on commit cf7bea7

Please sign in to comment.