From 91b483323c1fa6b99d50f34bbe2180239b9e0d78 Mon Sep 17 00:00:00 2001 From: leaf corcoran Date: Sun, 22 Nov 2020 16:27:50 -0800 Subject: [PATCH] add github actions workflow --- .github/workflows/spec.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/spec.yml diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml new file mode 100644 index 0000000..7ddab01 --- /dev/null +++ b/.github/workflows/spec.yml @@ -0,0 +1,31 @@ +name: "spec" + +on: [push] + +jobs: + test: + strategy: + fail-fast: false + matrix: + luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"] + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + + - uses: leafo/gh-actions-lua@master + with: + luaVersion: ${{ matrix.luaVersion }} + + - uses: leafo/gh-actions-luarocks@master + + - name: build + run: | + luarocks install busted + luarocks install loadkit + luarocks make + + - name: test + run: | + busted -o utfTerminal