Skip to content

Employs furo as HTML theme for docs #51

Employs furo as HTML theme for docs

Employs furo as HTML theme for docs #51

Workflow file for this run

---
name: Quality Assurance
on:
pull_request:
push:
workflow_dispatch:
inputs:
ref:
description: A git reference to check out.
default: 1.3.x
required: true
type: string
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.7 # 2023-06-07
- 3.8 # 2024-10
- 3.9 # 2025-10
- "3.10" # 2026-10
- 3.11 # 2027-10
- pypy3.7
- pypy3.8
- pypy3.9
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install tox
- run: tox -e py
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.ref || github.ref }}
- run: pip install --upgrade build pip
- run: python -m build
- run: pip install dist/*.whl
CodeQL:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: ${{ inputs.ref || github.ref }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'python'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
other:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- environment: doclinks
- environment: doctest
- environment: linting
steps:
- uses: actions/checkout@v3
with:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: python -m pip install tox
- run: tox -e ${{ matrix.environment }}
...