File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Run tests
2+
3+ on :
4+ push :
5+ branches : [ main, master, develop ]
6+ pull_request :
7+ branches : [ main, master, develop ]
8+
9+ jobs :
10+ test-lua51 :
11+ runs-on : debian-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ - name : Install Lua 5.1
15+ run : |
16+ sudo apt-get update
17+ sudo apt-get install -y lua5.1 luarocks
18+ - name : Verify Lua version
19+ run : lua5.1 -v
20+ - name : Install busted
21+ run : luarocks install busted
22+ - name : Run tests
23+ run : lua5.1 tests.lua
24+
25+ test-lua52 :
26+ runs-on : debian-latest
27+ steps :
28+ - uses : actions/checkout@v3
29+ - name : Install Lua 5.2
30+ run : |
31+ sudo apt-get update
32+ sudo apt-get install -y lua5.2 luarocks
33+ - name : Verify Lua version
34+ run : lua5.2 -v
35+ - name : Install busted
36+ run : luarocks install busted
37+ - name : Run tests
38+ run : lua5.2 tests.lua
You can’t perform that action at this time.
0 commit comments