@@ -16,7 +16,7 @@ jobs: | |||||
steps: | steps: | ||||
- name: Checkout repository | - name: Checkout repository | ||||
uses: actions/checkout@v3 | |||||
uses: actions/checkout@v4 | |||||
with: | with: | ||||
# We must fetch at least the immediate parents so that if this is | # We must fetch at least the immediate parents so that if this is | ||||
# a pull request then we can check out the head. | # a pull request then we can check out the head. | ||||
@@ -18,15 +18,15 @@ jobs: | |||||
test: | test: | ||||
strategy: | strategy: | ||||
matrix: | matrix: | ||||
python: ["3.9", "3.10", "3.11"] | |||||
python: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |||||
runs-on: ubuntu-latest | runs-on: ubuntu-latest | ||||
steps: | steps: | ||||
- uses: actions/checkout@v3 | |||||
- uses: actions/setup-python@v4 | |||||
- uses: actions/checkout@v4 | |||||
- uses: actions/setup-python@v5 | |||||
with: | with: | ||||
python-version: ${{ matrix.python }} | python-version: ${{ matrix.python }} | ||||
- name: Setup Graphviz | - name: Setup Graphviz | ||||
uses: ts-graphviz/setup-graphviz@v1 | |||||
uses: ts-graphviz/setup-graphviz@v2 | |||||
- name: Install poetry | - name: Install poetry | ||||
run: curl -sSL https://install.python-poetry.org | python3 - | run: curl -sSL https://install.python-poetry.org | python3 - | ||||
- name: Run all tests | - name: Run all tests | ||||
@@ -13,7 +13,7 @@ include = ["resources/**/*"] | |||||
python = "^3.7" | python = "^3.7" | ||||
graphviz = ">=0.13.2,<0.21.0" | graphviz = ">=0.13.2,<0.21.0" | ||||
jinja2 = ">=2.10,<4.0" | jinja2 = ">=2.10,<4.0" | ||||
typed-ast = "^1.5.4" | |||||
typed-ast = { version = "^1.5.5", markers = "python_version < '3.8'} | |||||
[tool.poetry.dev-dependencies] | [tool.poetry.dev-dependencies] | ||||
pytest = "^7.3" | pytest = "^7.3" | ||||