Skip to content

Commit

Permalink
update GH workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alparslanavci committed Sep 26, 2023
1 parent 0c4c198 commit 1e15776
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request: {}
push:
branches:
- master
- main

jobs:
luacheck:
Expand Down
28 changes: 1 addition & 27 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:
pull_request: {}
push:
branches:
- master
# schedule:
# - cron: '0 0 * * *' # every day at midnight, to test against nightlies
- main

jobs:
test:
Expand All @@ -24,40 +22,16 @@ jobs:
- "3.0.x"
- "dev"
- "3.0.0.x"
- "dev-ee"

steps:
- uses: actions/checkout@v3

- uses: Kong/kong-license@master
# this step is only for Kong Inc internal uses, external users should
# use the 'license' parameter of the kong-pongo action.
with:
password: ${{ secrets.PULP_PASSWORD }}

- uses: Kong/kong-pongo-action@v1
with:
pongo_version: master
kong_version: ${{ matrix.kongVersion }}
# Non-Kong-Inc users should provide their Enterprise license as a secret
# if testing against Enterprise versions.
# Kong Inc users should use the `Kong/kong-license` action
license: ${{ secrets.KONG_LICENSE_DATA }}


# the following 3 entries are only for Kong Inc internal use to test against
# the private Kong Enterprise development images, external users should
# delete these.
enterprise_nightly_docker_username: ${{ secrets.GHA_DOCKERHUB_PULL_USER }}
enterprise_nightly_docker_password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUBLIC_TOKEN }}
# github token with permissions to clone the kong-ee repo
github_token: ${{ secrets.GHA_KONG_BOT_READ_TOKEN }}

- run: pongo run -- --coverage




# Optional upload of coverage data,
# just ugly, something to fix...
- uses: leafo/gh-actions-lua@v10
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Unix build](https://img.shields.io/github/actions/workflow/status/Kong/kong-plugin/test.yml?branch=master&label=Test&logo=linux)](https://github.com/Kong/kong-plugin/actions/workflows/test.yml)
[![Luacheck](https://github.com/Kong/kong-plugin/workflows/Lint/badge.svg)](https://github.com/Kong/kong-plugin/actions/workflows/lint.yml)
[![Unix build](https://img.shields.io/github/actions/workflow/status/alparslanavci/ai-powered-response-transformer/test.yml?branch=master&label=Test&logo=linux)](https://github.com/Kong/kong-plugin/actions/workflows/test.yml)
[![Luacheck](https://github.com/alparslanavci/ai-powered-response-transformer/workflows/Lint/badge.svg)](https://github.com/Kong/kong-plugin/actions/workflows/lint.yml)

Kong Plugin - AI-Powered Response Transformer
====================
Expand Down

0 comments on commit 1e15776

Please sign in to comment.