aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleaf corcoran <leafot@gmail.com>2019-09-21 17:34:33 -0700
committerleaf <leafot@gmail.com>2020-04-25 14:24:18 -0700
commit6534a2315c5f9fd3e327ac21214f6c354aa38149 (patch)
tree7a69936f926edf67549815499e61d2fbe86d80fa
parentf5cf8297aebfe8f23ccf086a671d6cacd1c1613e (diff)
downloadlua-cjson-6534a2315c5f9fd3e327ac21214f6c354aa38149.tar.gz
lua-cjson-6534a2315c5f9fd3e327ac21214f6c354aa38149.tar.bz2
lua-cjson-6534a2315c5f9fd3e327ac21214f6c354aa38149.zip
see what happens if we run tests on github actions
-rw-r--r--.github/workflows/test.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..1c33dcc
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,29 @@
1name: test
2
3on: [push]
4
5jobs:
6 test:
7 strategy:
8 fail-fast: false
9 matrix:
10 luaVersion: ["5.1", "5.2", "5.3", "luajit", "luajit-openresty"]
11
12 runs-on: ubuntu-latest
13
14 steps:
15 - uses: actions/checkout@master
16
17 - uses: leafo/gh-actions-lua@v3
18 with:
19 luaVersion: ${{ matrix.luaVersion }}
20
21 - uses: leafo/gh-actions-luarocks@v2
22
23 - name: build
24 run: |
25 luarocks make
26
27 - name: test
28 run: |
29 ./runtests.sh