Skip to content

Commit

Permalink
chore: add Kong 3.7 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Aug 6, 2024
1 parent 076c5e3 commit 0806c0f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/integration-enterprise.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
name: Enterprise Integration Test
run-name: Enterprise Integration Test, branch:${{ github.ref_name }}, triggered by @${{ github.actor }}

concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: integration-enterprise-${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true

on:
workflow_call:
Expand All @@ -24,17 +31,16 @@ jobs:
- 'kong/kong-gateway:3.4'
- 'kong/kong-gateway:3.5'
- 'kong/kong-gateway:3.6'
- 'kong/kong-gateway:3.7'
- 'kong/kong-gateway-dev:latest'
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: ${{ matrix.kong_image }}

runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
name: Integration Test
run-name: Integration Test, branch:${{ github.ref_name }}, triggered by @${{ github.actor }}

concurrency:
# Run only for most recent commit in PRs but for all tags and commits on main
# Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency
group: integration-${{ github.workflow }}-${{ github.head_ref || github.sha }}
cancel-in-progress: true

on:
workflow_call:
Expand Down Expand Up @@ -26,16 +33,15 @@ jobs:
- 'kong:3.4'
- 'kong:3.5'
- 'kong:3.6'
- 'kong:3.7'
- 'kong/kong:master'
env:
KONG_ANONYMOUS_REPORTS: "off"
KONG_IMAGE: ${{ matrix.kong_image }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- name: Setup Kong
run: make setup-kong
- name: Run integration tests
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v5
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: golangci/golangci-lint-action@v6
- name: Run tests with Coverage
run: make coverage
- name: Upload Code Coverage
Expand Down

0 comments on commit 0806c0f

Please sign in to comment.