Skip to content

Update issue templates #18

Update issue templates

Update issue templates #18

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
- "dev*"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.10", "3.11"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Update pip and install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ".[test]"
- name: Run tests
run: |
python -m pytest test
- name: Run doctests
if: |
matrix.python-version == '3.11' &&
matrix.os == 'ubuntu-latest'
run: |
python -m doctest README.md
- name: Install and run linters
if: |
matrix.python-version == '3.11' &&
matrix.os == 'ubuntu-latest'
run: |
python -m pip install ".[lint]"
python -m ruff check src test
python -m ruff format --check src test