Add tests for all generators and fix small compilation/PDDL issues. #236
Workflow file for this run
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, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-22.04 | |
| python-version: "3.10" | |
| - os: ubuntu-24.04 | |
| python-version: "3.13" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Apptainer | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y software-properties-common | |
| sudo add-apt-repository -y ppa:apptainer/ppa | |
| sudo apt-get update | |
| sudo apt-get install -y apptainer | |
| - name: Install dependencies | |
| run: | | |
| # ocaml is needed for crewplanning | |
| sudo apt install ocaml ocamlbuild tox | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| apptainer pull scorpion.sif oras://ghcr.io/jendrikseipp/scorpion:latest | |
| # Add to PATH | |
| sudo cp scorpion.sif /usr/local/bin/ | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Show environment | |
| run: | | |
| python --version | |
| python3 -c "import multiprocessing as m; print('CPUs:', m.cpu_count())" | |
| - name: Run tests | |
| run: | | |
| tox -e py |