Skip to content

Aggravated bleeding #9511

Aggravated bleeding

Aggravated bleeding #9511

Workflow file for this run

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