Skip to content

Make the perf throughput gate machine-independent and skip a root-only test #34

Make the perf throughput gate machine-independent and skip a root-only test

Make the perf throughput gate machine-independent and skip a root-only test #34

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
submodules: recursive # maze corpus + maze-family tests live in the submodule
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install -e ".[dev,visual]"
- run: pytest -q # addopts already excludes ogbench collection and slow benchmarks
- name: wheel must not ship mazes/ or deploy/
run: |
pip wheel --no-deps --no-build-isolation -w /tmp/wheelcheck .
python -m zipfile -l /tmp/wheelcheck/*.whl | grep -E '(^|/)(mazes|deploy)/' && exit 1 || echo "wheel clean"