-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (38 loc) · 1.08 KB
/
CI.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
name: CI
on:
# push:
# branches:
# - "**"
# tags:
# - "*"
pull_request:
jobs:
lua-check:
runs-on: ubuntu-latest
steps:
- name: Check out ${{ github.repository }} code
uses: actions/checkout@v4
- name: Install Lua 5.1.5
uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.1.5"
- name: Install LuaRocks
uses: leafo/[email protected]
# Install LuaRocks packages
- name: Install Lua Packages
run: |
luarocks install bit32
luarocks install argparse
luarocks install luafilesystem
# Install requirements.txt from .generate_database
- name: Install requirements
run: pip install -r .generate_database/requirements.txt
# Runs a single command using the runners shell
- name: Generate HTML
run: python3 ./.generate_database/dump.py Era Tbc Wotlk
- name: Run Era Tests
run: lua ./.tests/runTests.lua Era
- name: Run Tbc Tests
run: lua ./.tests/runTests.lua Tbc
- name: Run Wotlk Tests
run: lua ./.tests/runTests.lua Wotlk