Skip to content

Commit

Permalink
Merge pull request #47 from anubhav-cs/master
Browse files Browse the repository at this point in the history
Updated the License to MIT
  • Loading branch information
anubhav-cs authored Oct 12, 2022
2 parents 56e3bf7 + 3f4b0a3 commit 9392403
Show file tree
Hide file tree
Showing 163 changed files with 3,583 additions and 8,351 deletions.
348 changes: 225 additions & 123 deletions .github/workflows/build_test.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
43 changes: 21 additions & 22 deletions .github/workflows/pypi_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
py_version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Remove previous builds if any
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
# sudo apt-get install -y flex bison python3-dev python3 libfl-dev

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -119,10 +119,10 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
py_version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Remove previous builds if any
run: |
Expand All @@ -134,7 +134,7 @@ jobs:
# sudo apt-get install -y flex bison python3-dev python3 libfl-dev

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -213,15 +213,14 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
exclude:
- py_version: "3.6"
py_version: ["3.7", "3.8", "3.9", "3.10"]


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -299,11 +298,11 @@ jobs:
# runs-on: macos-11
# strategy:
# matrix:
# py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
# py_version: ["3.7", "3.8", "3.9", "3.10"]


# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Remove previous builds if any
# run: |
Expand All @@ -315,7 +314,7 @@ jobs:
# # brew install flex bison python3 libffi

# - name: Set up Python ${{ matrix.py_version }}
# uses: actions/setup-python@v2
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -396,11 +395,11 @@ jobs:
# runs-on: macos-11
# strategy:
# matrix:
# py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
# py_version: ["3.7", "3.8", "3.9", "3.10"]


# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Remove previous builds if any
# run: |
Expand All @@ -412,7 +411,7 @@ jobs:
# # brew install flex bison python3 libffi

# - name: Set up Python ${{ matrix.py_version }}
# uses: actions/setup-python@v2
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -492,10 +491,10 @@ jobs:
# runs-on: macos-10.15
# strategy:
# matrix:
# py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
# py_version: ["3.7", "3.8", "3.9", "3.10"]

# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3

# - name: Remove previous builds if any
# run: |
Expand All @@ -507,7 +506,7 @@ jobs:
# # brew install flex bison python3 libffi

# - name: Set up Python ${{ matrix.py_version }}
# uses: actions/setup-python@v2
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -595,10 +594,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.10"

Expand Down
161 changes: 80 additions & 81 deletions .github/workflows/test_pypi_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
py_version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -66,13 +66,13 @@ jobs:
runs-on: ubuntu-18.04
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
py_version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand Down Expand Up @@ -100,15 +100,14 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
exclude:
- py_version: "3.6"
py_version: ["3.7", "3.8", "3.9", "3.10"]


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.py_version }}"

Expand All @@ -129,73 +128,73 @@ jobs:
# --------------------------------------------------------------------------- #

build-macos-11:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: macos-11
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
# exclude:
# - py_version: "3.8"

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
with:
python-version: "${{ matrix.py_version }}"

- name: Install lapkt from pypi
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --user pytest tarski-lapkt clingo lapkt
- name: Test lapkt installation
run: |
python3 /Users/runner/.local/bin/lapkt_cmd.py BFWS -d ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/domain.pddl -p ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/problem02-full.pddl
cat plan.ipc
- name: Pytest
working-directory: ${{github.workspace}}
run: |
pytest
# --------------------------------------------------------------------------- #

build-macos-10_15:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: macos-10.15
strategy:
matrix:
py_version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
# exclude:
# - py_version: "3.8"

steps:
- uses: actions/checkout@v2

- name: Set up Python ${{ matrix.py_version }}
uses: actions/setup-python@v2
with:
python-version: "${{ matrix.py_version }}"

- name: Install lapkt from pypi
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --user pytest tarski-lapkt clingo lapkt
- name: Test lapkt installation
run: |
python3 /Users/runner/.local/bin/lapkt_cmd.py BFWS -d ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/domain.pddl -p ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/problem02-full.pddl
cat plan.ipc
- name: Pytest
working-directory: ${{github.workspace}}
run: |
pytest
# build-macos-11:
# # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# # You can convert this to a matrix build if you need cross-platform coverage.
# # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
# runs-on: macos-11
# strategy:
# matrix:
# py_version: ["3.7", "3.8", "3.9", "3.10"]
# # exclude:
# # - py_version: "3.8"

# steps:
# - uses: actions/checkout@v3

# - name: Set up Python ${{ matrix.py_version }}
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.py_version }}"

# - name: Install lapkt from pypi
# run: |
# python3 -m pip install --upgrade pip
# python3 -m pip install --user pytest tarski-lapkt clingo lapkt


# - name: Test lapkt installation
# run: |
# python3 /Users/runner/.local/bin/lapkt_cmd.py BFWS -d ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/domain.pddl -p ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/problem02-full.pddl
# cat plan.ipc

# - name: Pytest
# working-directory: ${{github.workspace}}
# run: |
# pytest

# # --------------------------------------------------------------------------- #

# build-macos-10_15:
# # The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# # You can convert this to a matrix build if you need cross-platform coverage.
# # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
# runs-on: macos-10.15
# strategy:
# matrix:
# py_version: ["3.7", "3.8", "3.9", "3.10"]
# # exclude:
# # - py_version: "3.8"

# steps:
# - uses: actions/checkout@v3

# - name: Set up Python ${{ matrix.py_version }}
# uses: actions/setup-python@v4
# with:
# python-version: "${{ matrix.py_version }}"

# - name: Install lapkt from pypi
# run: |
# python3 -m pip install --upgrade pip
# python3 -m pip install --user pytest tarski-lapkt clingo lapkt

# - name: Test lapkt installation
# run: |
# python3 /Users/runner/.local/bin/lapkt_cmd.py BFWS -d ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/domain.pddl -p ${{github.workspace}}/test/classical_instance_small/visitall-opt11-strips/problem02-full.pddl
# cat plan.ipc

# - name: Pytest
# working-directory: ${{github.workspace}}
# run: |
# pytest
Loading

0 comments on commit 9392403

Please sign in to comment.