Files
PathOfBuilding/.github/workflows/test.yml
Paliak c70e9ddcaf Implement a docker container for tests (#8199)
* FEAT: implement container for tests

* FEAT: add action for building image

* FIX: pin luajit by hash instead of tag

* FIX: typo
2025-01-03 16:10:39 -06:00

18 lines
457 B
YAML

name: Run Tests
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
run_tests:
runs-on: ubuntu-latest
container: ghcr.io/paliak/pathofbuilding-tests:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests
run: busted --lua=luajit
- name: Report coverage
run: cd src; luacov-coveralls --repo-token=${{ secrets.github_token }} -e TestData -e Data -e runtime