[serverless-1.34] enable go s2i test #1051
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Func E2E Lifecycle Test | |
on: [pull_request] | |
concurrency: | |
group: ci-e1e-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: E2E Test | |
continue-on-error: true | |
strategy: | |
matrix: | |
runtime: ["node", "go", "python", "quarkus", "springboot", "typescript", "rust"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set Environment Variables | |
run: | | |
echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" | |
echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" | |
- uses: actions/checkout@v4 | |
- uses: ./.github/composite/go-setup | |
- name: Install Binaries | |
run: ./hack/install-binaries.sh | |
- name: Allocate Cluster | |
run: ./hack/allocate.sh | |
- name: Local Registry | |
run: ./hack/registry.sh | |
- name: Build | |
run: make | |
- name: E2E runtime for ${{ matrix.runtime }} | |
run: make test-e2e-runtime runtime=${{ matrix.runtime }} | |
- uses: codecov/codecov-action@v4 | |
with: | |
files: ./coverage.txt | |
flags: e2e-test-runtime-${{ matrix.runtime }} |