Skip to content

Commit fd690f9

Browse files
committed
add github actions
1 parent dc14628 commit fd690f9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
luaVersion:
9+
- "5.2"
10+
- "5.3"
11+
- "5.4"
12+
- "luajit-2.1"
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: leafo/gh-actions-lua@v12
16+
with:
17+
luaVersion: ${{ matrix.luaVersion }}
18+
- uses: leafo/gh-actions-luarocks@v6
19+
- name: Install busted
20+
run: luarocks install busted
21+
- name: Run tests
22+
run: busted -p _test .

0 commit comments

Comments
 (0)