Changelog #9598
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: Run Tests | |
on: | |
push: | |
branches: [ dev ] | |
pull_request: | |
branches: [ dev ] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Lua/LuaJIT | |
uses: leafo/[email protected] | |
with: | |
luaVersion: "luajit-2.0.5" | |
- name: Install LuaRocks | |
uses: leafo/[email protected] | |
- name: Install busted | |
run: luarocks install busted | |
- name: Install cluacov | |
run: luarocks install cluacov 0.1.2-1 | |
- name: Install coveralls integration | |
run: luarocks install luacov-coveralls | |
- name: Run tests | |
run: busted --lua=/home/runner/work/PathOfBuilding/PathOfBuilding/.lua/bin/luajit | |
- name: Report coverage | |
run: cd src; luacov-coveralls --repo-token=${{ secrets.github_token }} -e TestData -e Data -e runtime |