Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Sbromberger/jsonlogic #8

Sbromberger/jsonlogic

Sbromberger/jsonlogic #8

Workflow file for this run

name: Pull Request Quality Check
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest git+https://github.com/llnl/clippy@master
- name: Build backend
id: build-backend
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
run: |
sudo apt install doxygen
mkdir -p build
cd build && cmake .. && make && cd ..
ls -l build/test
BACKEND=$PWD/build/test
echo "BACKEND=$BACKEND" >> $GITHUB_ENV
- name: Run Python test framework
env:
CLIPPY_BACKEND_PATH: ${{ env.BACKEND }}
run: |
echo "backend = $BACKEND"
pytest .