1
0
Fork 0
traefik/.github/workflows/test-gateway-api-conformance.yaml
2025-10-10 12:12:04 +02:00

40 lines
918 B
YAML

name: Test K8s Gateway API conformance
on:
pull_request:
branches:
- '*'
paths:
- '.github/workflows/test-gateway-api-conformance.yaml'
- 'pkg/provider/kubernetes/gateway/**'
- 'integration/fixtures/gateway-api-conformance/**'
- 'integration/gateway_api_conformance_test.go'
env:
GO_VERSION: '1.24'
CGO_ENABLED: 0
jobs:
test-gateway-api-conformance:
runs-on: ubuntu-latest
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
- name: Gateway API conformance test and report
run: |
make test-gateway-api-conformance
git diff --exit-code