Just added a comment for testing #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |