don't allow overwriting default relation clause elements with where o… #402
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "spec" | |
on: [push, pull_request] | |
jobs: | |
# this runs the tests in the docker image against live postgres & mysql | |
# and openresty | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
# - uses: leafo/lapis@master | |
- name: build | |
run: | | |
docker build -t lapis-test . | |
- name: test | |
run: | | |
docker run lapis-test | |
# this runs all generic lua tests | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: leafo/gh-actions-lua@master | |
with: | |
luaVersion: ${{ matrix.luaVersion }} | |
- uses: leafo/gh-actions-luarocks@master | |
- name: build | |
run: | | |
[[ "${{ matrix.luaVersion }}" =~ ^5\.[12]$ ]] && luarocks install luabitop || true | |
luarocks install busted | |
luarocks install moonscript | |
luarocks install tableshape | |
luarocks install lsqlite3 | |
luarocks make | |
- name: test | |
run: | | |
busted -o utfTerminal -v |