Update reference implementation #30
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
| name: Soundness Check | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Valgrind | |
| run: sudo apt-get update && sudo apt-get install -y valgrind | |
| - name: Build reference implementation | |
| run: make -C reference_implementation | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.9.8" | |
| - name: Set up Python | |
| run: uv python install | |
| - name: Run small soundness check subset with valgrind | |
| run: | | |
| uv run pytest -n auto --verbose \ | |
| --executable='reference_implementation/partdiff' \ | |
| --strictness=4 \ | |
| --valgrind \ | |
| --shuffle=42 \ | |
| --max-num-tests=5 | |
| - name: Run soundness check | |
| run: | | |
| uv run pytest -n auto --verbose \ | |
| --executable='reference_implementation/partdiff' \ | |
| --strictness=4 \ | |
| --shuffle=42 |