Skip to content

Commit d2ac4e9

Browse files
committed
run tests on Py 3.10
1 parent fce73df commit d2ac4e9

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: ["3.11", "3.12"]
9+
python-version: ["3.10", "3.11", "3.12"]
1010
steps:
1111
- uses: actions/checkout@v4
1212
- name: Setup Graphviz
@@ -32,3 +32,7 @@ jobs:
3232
with:
3333
options: "--check --verbose"
3434
- run: pytest
35+
- name: Run main script
36+
run: |
37+
python3 -m graphviz2drawio test/directed/hello.gv.txt
38+
test -f test/directed/hello.gv.xml

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v4
2020
with:
21-
python-version: '3.11'
21+
python-version: '3.10'
2222
- name: Install build and create dist
2323
run: |
2424
pip install build

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@
3030
"Topic :: Scientific/Engineering :: Visualization",
3131
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
3232
"Programming Language :: Python :: 3",
33+
"Programming Language :: Python :: 3.10",
3334
"Programming Language :: Python :: 3.11",
3435
"Programming Language :: Python :: 3.12",
3536
],
3637
license="GPLv3",
37-
keywords="graphviz graph agraph dot convert conversion draw drawio mxgraph xml",
38-
packages=find_packages(exclude=["contrib", "docs", "tests"]),
39-
python_requires=">=3.5",
38+
keywords="graphviz graph agraph dot convert conversion draw drawio mxgraph maxgraph",
39+
packages=find_packages(exclude=["doc", "test"]),
40+
python_requires=">=3.10",
4041
install_requires=["pygraphviz", "raven", "svg.path"],
4142
tests_require=["pytest"],
4243
entry_points={"console_scripts": ["graphviz2drawio=graphviz2drawio.__main__:main"]},

0 commit comments

Comments
 (0)