Merge pull request #31 from psaegert/readme #430
This file contains hidden or 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
| 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 |