-
Notifications
You must be signed in to change notification settings - Fork 139
37 lines (34 loc) · 1.11 KB
/
test-e2e-runtime.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 }}