Skip to content

263 timeout

263 timeout #942

Workflow file for this run

# This action is based on Github's default starter workflow for Python at
# https://github.com/actions/starter-workflows/blob/master/ci/python-package.yml
# (C) Github, MIT License
name: Python package
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
include:
- os: windows-latest
python-version: "3.11"
- os: macos-latest
python-version: "3.11"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Lint with Ruff
run: |
ruff check ibridges
- name: Lint with PyLint
run: |
pylint ibridges
- name: Check types with MyPy
run: |
mypy ibridges
- name: Check if documentation builds.
run: |
cd docs; make html SPHINXOPTS="--keep-going"
- name: Test with pytest
run: |
pip install pytest
pytest tests