Skip to content

Version 0.6

Version 0.6 #12

Workflow file for this run

name: Test
on: [push]
env:
PIP_PROGRESS_BAR: "off"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
lua-version: ["5.3", "5.4"]
json-library: ["builtin", "cjson"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
pip install hererocks==0.25.1 -r spec/requirements.txt
hererocks .venv --lua ${{ matrix.lua-version }} --luarocks latest
source .venv/bin/activate
luarocks install busted
if [ ${{ matrix.json-library }} == "cjson" ]; then luarocks install lua-cjson; fi
- name: Make rock
run: |
source .venv/bin/activate
luarocks make digestif-dev-1.rockspec
- name: Busted
run: |
source .venv/bin/activate
busted --exclude-tags=ctx
- name: Integration tests
run: |
source .venv/bin/activate
pytest spec