Python 3.6 no longer supported by CI #36
This file contains 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: build | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
python-version: [2.7, 3.7, 3.8, 3.9, '3.10', 3.11] | |
fail-fast: false | |
name: Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Tests | |
- run: python test_PDDL.py | |
- run: python test_planner.py | |
# Examples | |
- run: python pddl_parser/action.py | |
- run: python -m pddl_parser.PDDL examples/dinner/dinner.pddl examples/dinner/pb1.pddl | |
- run: python -m pddl_parser.planner examples/dinner/dinner.pddl examples/dinner/pb1.pddl |