Skip to content

Add support for Lich's Price of Power, Stormweaver's Multiplying Squalls, and Acolyte of Chayula's Unravelling #3048

Add support for Lich's Price of Power, Stormweaver's Multiplying Squalls, and Acolyte of Chayula's Unravelling

Add support for Lich's Price of Power, Stormweaver's Multiplying Squalls, and Acolyte of Chayula's Unravelling #3048

Workflow file for this run

name: Run Tests
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
workflow_dispatch:
jobs:
run_tests:
runs-on: ubuntu-latest
container: ghcr.io/pathofbuildingcommunity/pathofbuilding-tests:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests
run: busted --lua=luajit
- name: Report coverage
continue-on-error: true # May fail on server errors (of coveralls.io)
run: cd src; luacov-coveralls --repo-token=${{ secrets.github_token }} -e TestData -e Data -e runtime
check_modcache:
runs-on: ubuntu-latest
container: ghcr.io/pathofbuildingcommunity/pathofbuilding-tests:latest
steps:
- name: Install git dependency
run: apk add git
- name: Checkout
uses: actions/checkout@v4
- name: Regenerate ModCache
env:
LUA_PATH: ../runtime/lua/?.lua;../runtime/lua/?/init.lua
REGENERATE_MOD_CACHE: 1
run: cd src; luajit HeadlessWrapper.lua
- run: git config --global --add safe.directory $(pwd)
- name: Check if the generated ModCache is different
run: git diff --exit-code src/Data/ModCache.lua