Skip to content

Commit 6ad0b1f

Browse files
committed
add github workflows test
1 parent 8bcf67c commit 6ad0b1f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: test
2+
3+
on: [push, pull_request]
4+
5+
jobs:
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@master
18+
with:
19+
luaVersion: ${{ matrix.luaVersion }}
20+
21+
- uses: leafo/gh-actions-luarocks@master
22+
23+
- name: build
24+
run: |
25+
luarocks install busted
26+
luarocks make
27+
28+
- name: test
29+
run: |
30+
busted -o utfTerminal

0 commit comments

Comments
 (0)