2024-01-22 14:30:05 +00:00
|
|
|
name: Test K8s Gateway API conformance
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
paths:
|
2024-09-03 13:12:04 +00:00
|
|
|
- '.github/workflows/test-conformance.yaml'
|
2024-01-22 15:04:05 +00:00
|
|
|
- 'pkg/provider/kubernetes/gateway/**'
|
2024-09-03 13:12:04 +00:00
|
|
|
- 'integration/fixtures/k8s-conformance/**'
|
2024-01-22 15:04:05 +00:00
|
|
|
- 'integration/k8s_conformance_test.go'
|
2024-01-22 14:30:05 +00:00
|
|
|
|
|
|
|
env:
|
2024-09-03 13:12:04 +00:00
|
|
|
GO_VERSION: '1.23'
|
2024-01-22 14:30:05 +00:00
|
|
|
CGO_ENABLED: 0
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
test-conformance:
|
2024-04-22 15:30:39 +00:00
|
|
|
runs-on: ubuntu-latest
|
2024-01-22 14:30:05 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
- name: Set up Go ${{ env.GO_VERSION }}
|
|
|
|
uses: actions/setup-go@v5
|
|
|
|
with:
|
|
|
|
go-version: ${{ env.GO_VERSION }}
|
|
|
|
|
|
|
|
- name: Avoid generating webui
|
|
|
|
run: touch webui/static/index.html
|
|
|
|
|
2024-08-30 15:14:03 +00:00
|
|
|
- name: K8s Gateway API conformance test and report
|
|
|
|
run: |
|
|
|
|
make test-gateway-api-conformance
|
|
|
|
git diff --exit-code
|