Find applicable operators with a successor generator. #482
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: Ubuntu | |
| # see https://github.community/t5/GitHub-Actions/How-to-trigger-an-action-on-push-or-pull-request-but-not-both/m-p/35805 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04, ubuntu-26.04] | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10', 'pypy3.11'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Show environment | |
| run: | | |
| uv run --python ${{ matrix.python-version }} python --version | |
| uv run --python ${{ matrix.python-version }} python -c "import multiprocessing as m; print('CPUs:', m.cpu_count())" | |
| - name: Install minisat | |
| run: sudo apt-get -y install minisat | |
| - name: Check style | |
| if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.14' | |
| run: | | |
| uvx ruff@0.15.2 check . | |
| uvx ruff@0.15.2 format --check . | |
| - name: Run tests | |
| run: uv run --python ${{ matrix.python-version }} --group dev pytest --slow pyperplan/tests |