Skip to content

add engine tests

add engine tests #7

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test:
name: Test (non-engine-consistency)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Lua
uses: leafo/gh-actions-lua@v9
with:
luaVersion: "5.4"
buildCache: false
- name: Run tests
run: TEST_IGNORE_SLUGS=engine_consistency_integration lua ./bin/test.lua
engine-consistency:
name: Engine Consistency (${{ matrix.engine }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
engine:
- dumbgoblin
- fruit21
- garbochess
- sunfish
steps:
- uses: actions/checkout@v4
- name: Set up Lua
uses: leafo/gh-actions-lua@v9
with:
luaVersion: "5.4"
buildCache: false
- name: Run engine consistency tests for ${{ matrix.engine }}
run: ALLOWED_ENGINES=${{ matrix.engine }} lua ./bin/test.lua --only=engine_consistency_integration