Skip to content

Commit

Permalink
match test to circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Apr 18, 2023
1 parent 12e053f commit 0fc2445
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,24 +349,23 @@ jobs:
mkdir -p "${{ env.TEST_RESULTS_DIR }}"
cd ./test/integration/consul-container/test/upgrade
docker run --rm consul:local consul version
PACKAGE_NAMES=$(go list -tags "${{ env.GOTAGS }}" ./...)
gotestsum \
--raw-command \
--format=short-verbose \
--debug \
--rerun-fails=3 \
--packages="${PACKAGE_NAMES}" \
--packages="./..." \
-- \
go test \
-p=4 \
-tags "${{ env.GOTAGS }}" \
-timeout=30m \
-json \
./... \
./.../upgrade/ \
--target-image consul \
--target-version local \
--latest-image consul \
--latest-version "${{ env.CONSUL_VERSION }}"
--latest-version ${{ env.CONSUL_VERSION }}
ls -lrt
env:
# this is needed because of incompatibility between RYUK container and circleci
Expand Down

0 comments on commit 0fc2445

Please sign in to comment.