Skip to content

Merge pull request #31 from psaegert/readme #430

Merge pull request #31 from psaegert/readme

Merge pull request #31 from psaegert/readme #430

Workflow file for this run

on:
push:
branches: main
pull_request:
name: pytest
jobs:
pytest:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- uses: actions/checkout@v6.0.1
# Setup Python
- name: Setup Python 3.12
uses: actions/setup-python@v6.1.0
with:
python-version: "3.12"
# Install the package and development requirements
- name: Install package and development requirements
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
# Download FastSRB benchmark assets required by evaluation tests
- name: Fetch FastSRB benchmark
run: |
mkdir -p data/ansr-data/test_set/fastsrb
curl -L "https://raw.githubusercontent.com/viktmar/FastSRB/main/src/expressions.yaml" \
-o data/ansr-data/test_set/fastsrb/expressions.yaml
# Run the tests
- name: Run tests
run: |
pytest tests