mirror of
https://github.com/traefik/traefik
synced 2026-02-03 10:00:33 +00:00
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
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'
|
|
- 'integration/integration_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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go ${{ env.GO_VERSION }}
|
|
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
|
|
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
|