* FEAT: implement container for tests * FEAT: add action for building image * FIX: pin luajit by hash instead of tag * FIX: typo
18 lines
457 B
YAML
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
|