Skip to content

[CLC-415]: add migration prerequisites #1092

[CLC-415]: add migration prerequisites

[CLC-415]: add migration prerequisites #1092

Workflow file for this run

name: "Test Hazelcast CLC 32bit"
on: ["push", "pull_request"]
jobs:
test:
strategy:
matrix:
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
env:
GOPATH: "${{ github.workspace }}"
HZ_VERSION: "5.3.0"
DEFAULT_TIMEOUT: "30s"
defaults:
run:
shell: "bash"
working-directory: "$HOME/hazelcast-commandline-client"
steps:
- name: "Checkout Code"
uses: "actions/checkout@v2"
with:
path: "$HOME/hazelcast-commandline-client"
- name: "Setup JRE"
uses: actions/setup-java@v2
with:
distribution: "zulu"
java-version: "8"
- name: "Download RCD (Linux)"
run: |
wget https://rcd-download.s3.us-east-2.amazonaws.com/rcd-${{ matrix.os }}
- name: "Start Hazelcast Remote Controller (Linux)"
run: |
chmod +x rcd-${{ matrix.os }}
./rcd-${{ matrix.os }} -version $HZ_VERSION -dir $HOME &
sleep 10
- name: "Setup Go"
uses: "actions/setup-go@v3"
with:
go-version: "1.21"
- name: "Install Go tools"
run: |
go install golang.org/x/tools/[email protected]
go install honnef.co/go/tools/cmd/[email protected]
- name: "Go mod tidy"
run: |
go mod tidy
- name: "Download Test Fixtures"
run: |
curl https://rcd-download.s3.us-east-2.amazonaws.com/sample-job-1-1.0-SNAPSHOT-all.jar -o base/commands/job/testdata/sample-job-1-1.0-SNAPSHOT-all.jar
- name: "Run All Tests"
run: |
GOARCH=386 make test-dmt TEST_FLAGS="-v -count 1 -timeout 30m"