Pongo-based GitHub action

Hi,

As I’m in the process of getting some basic busted tests to run via GitHub actions; I was wondering if by any chances someone already did something similar? Maybe based on pongo.

NB: the plugin I’m testing doesn’t require any databases which makes things much easier.

Cheers,

After all, it’s closer to what is done by the kong-vagrant image than pongo which relies exclusively on Docker.

Something like this;

name: CI Test

on: [push, pull_request]

jobs:
  test:
    env:
      KONG_VERSION: 2.2.x
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Clone pongo
        run: git clone --single-branch https://github.com/Kong/kong-pongo ../kong-pongo

      - name: "pongo up"
        run: "../kong-pongo/pongo.sh up"
      - name: "pongo bulid"
        run: "../kong-pongo/pongo.sh build"
      - name: "pongo lint"
        run: "../kong-pongo/pongo.sh lint"
      - name: "pongo run"
        run: "../kong-pongo/pongo.sh run"