Skip to content

89 Grid to DiGraph Conversion and Graph Simplification. #183

89 Grid to DiGraph Conversion and Graph Simplification.

89 Grid to DiGraph Conversion and Graph Simplification. #183

Workflow file for this run

name: Checks
on:
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
jobs:
lint:
if: ${{ false }} # disabled for now, hasn't run in a while resulting in countless issues
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run lint checks
run: tox run -e flake8
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run tests
run: tox
notebooks:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run notebooks
run: tox run -e notebooks
examples:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run examples
run: tox run -e examples