name: E2E Test on: push: branches: - master - release-* tags: - v* workflow_dispatch: { } pull_request: branches: - master - release-* env: # Common versions GO_VERSION: '1.20' KIND_VERSION: 'v0.18.0' KIND_IMAGE: 'kindest/node:v1.26.3' KIND_CLUSTER_NAME: 'ci-testing' jobs: e2e-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: submodules: true - name: Setup Go uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: ${{ env.GO_VERSION }} - name: Setup Kind Cluster uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 with: node_image: ${{ env.KIND_IMAGE }} cluster_name: ${{ env.KIND_CLUSTER_NAME }} version: ${{ env.KIND_VERSION }} - name: Install dependencies run: go mod download - name: Run E2E tests run: go test -v ./tests/e2e/...