release: v2.0 public-release cleanup #11
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: 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" |