mirror of https://github.com/knative/func.git
35 lines
903 B
YAML
35 lines
903 B
YAML
name: Func E2E Lifecycle Test
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ci-e1e-${{ github.ref }}-1
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
name: E2E Test
|
|
strategy:
|
|
matrix:
|
|
runtime: ["node", "go", "python", "quarkus", "springboot", "typescript"]
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.20.2
|
|
- name: Install Binaries
|
|
run: ./hack/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@v3
|
|
with:
|
|
files: ./coverage.txt
|
|
flags: e2e-test-runtime-${{ matrix.runtime }}
|