mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
40 lines
870 B
YAML
40 lines
870 B
YAML
name: Test K8s Gateway API conformance
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
paths:
|
|
- '.github/workflows/test-conformance.yaml'
|
|
- 'pkg/provider/kubernetes/gateway/**'
|
|
- 'integration/fixtures/k8s-conformance/**'
|
|
- 'integration/k8s_conformance_test.go'
|
|
|
|
env:
|
|
GO_VERSION: '1.23'
|
|
CGO_ENABLED: 0
|
|
|
|
jobs:
|
|
|
|
test-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: K8s Gateway API conformance test and report
|
|
run: |
|
|
make test-gateway-api-conformance
|
|
git diff --exit-code
|