Skip to content

Do not enable default Matplotlib backend when checking what the backend is #70

Do not enable default Matplotlib backend when checking what the backend is

Do not enable default Matplotlib backend when checking what the backend is #70

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
defaults:
run:
shell: bash -l {0}
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package with test dependencies
run: pip install .[test]
- name: Test installation
run: pytest -v
- name: Test flake8
run: flake8 matplotlib_inline --ignore=E501,W504,W503