Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hweichelt committed Apr 25, 2024
1 parent 1114076 commit 644aaf3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 54 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@ jobs:
- name: "checkout repository"
uses: actions/checkout@v3

- name: "setup python 3.7"
- name: "setup python 3.9"
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.9

- name: "setup python 3.11"
uses: actions/setup-python@v4
with:
python-version: 3.11


- name: "setup python 3.12"
uses: actions/setup-python@v4
with:
python-version: 3.12

- name: install nox
run: python -m pip install nox

Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
EDITABLE_TESTS = True
PYTHON_VERSIONS = None
if "GITHUB_ACTIONS" in os.environ:
PYTHON_VERSIONS = ["3.11"]
PYTHON_VERSIONS = ["3.12", "3.11", "3.9"]
EDITABLE_TESTS = False


Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ authors = [
{ name = "Hannes Weichelt", email = "[email protected]" }
]
description = "A template project."
requires-python = ">=3.11"
requires-python = ">=3.9"
license = {file = "LICENSE"}
dynamic = [ "version" ]
readme = "README.md"
dependencies = [
"clingo>=5.6.0",
"clingo>=5.7.1",
"autoflake",
]

Expand Down Expand Up @@ -79,7 +79,7 @@ source = ["clingexplaid", "tests"]
omit = [
"*/clingexplaid/__main__.py",
"*/clingexplaid/cli/*",
"*/clingexplaid/propagators/__init__.py",
"*/clingexplaid/propagators/*",
"*/clingexplaid/transformers/__init__.py",
"*/clingexplaid/muc/__init__.py",
"*/clingexplaid/unsat_constraints/__init__.py",
Expand Down
2 changes: 1 addition & 1 deletion src/clingexplaid/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_constants_from_arguments(argument_vector: List[str]) -> Dict[str, str]:
for element in argument_vector:
if next_constant:
result = re.search(r"(.*)=(.*)", element)
if result is None or len(result.groups()) == 0:
if result is None:
continue
constants[result.group(1)] = result.group(2)
next_constant = False
Expand Down
46 changes: 0 additions & 46 deletions tests/clingexplaid/test_propagators.py

This file was deleted.

0 comments on commit 644aaf3

Please sign in to comment.