Skip to content

Support PyDot v3 and v4 (#53) #188

Support PyDot v3 and v4 (#53)

Support PyDot v3 and v4 (#53) #188

Workflow file for this run

name: PyTest
on:
push:
pull_request:
env:
COLUMNS: 120
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
pydot-version: ["3", "4"]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: make install
- name: Install specific pydot major version
run: |
pip install "pydot>=${{ matrix.pydot-version }},<${{ matrix.pydot-version == '3' && '4' || '5' }}"
python -c "import pydot; print(f'Testing with pydot {pydot.__version__}')"
- name: Run Tests
run: make pytest