Skip to content

Commit

Permalink
run tests on Py 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hbmartin committed Jul 3, 2024
1 parent fce73df commit d2ac4e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Setup Graphviz
Expand All @@ -32,3 +32,7 @@ jobs:
with:
options: "--check --verbose"
- run: pytest
- name: Run main script
run: |
python3 -m graphviz2drawio test/directed/hello.gv.txt
test -f test/directed/hello.gv.xml
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.10'
- name: Install build and create dist
run: |
pip install build
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
license="GPLv3",
keywords="graphviz graph agraph dot convert conversion draw drawio mxgraph xml",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
python_requires=">=3.5",
keywords="graphviz graph agraph dot convert conversion draw drawio mxgraph maxgraph",
packages=find_packages(exclude=["doc", "test"]),
python_requires=">=3.10",
install_requires=["pygraphviz", "raven", "svg.path"],
tests_require=["pytest"],
entry_points={"console_scripts": ["graphviz2drawio=graphviz2drawio.__main__:main"]},
Expand Down

0 comments on commit d2ac4e9

Please sign in to comment.