forked from teal-language/cyan
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 758 Bytes
/
test.yml
File metadata and controls
39 lines (30 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install Lua
uses: leafo/[email protected]
with:
luaVersion: ${{ matrix.luaVersion }}
- name: Install LuaRocks
uses: leafo/[email protected]
- name: Build
run: |
luarocks install luafilesystem # TODO: luarocks seems to grab the wrong version with --dev
luarocks make --dev
luarocks install busted
- name: Test
run: busted -o utfTerminal