Skip to content

More documentation cleanup. #30

More documentation cleanup.

More documentation cleanup. #30

Workflow file for this run

---
name: CI
on:
push:
branches: [trunk]
tags: ["*"]
pull_request:
branches: [trunk]
workflow_dispatch:
env:
FORCE_COLOR: "1"
PIP_DISABLE_VERSION_CHECK: "1"
permissions:
contents: read
jobs:
tests:
name: nox on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Harden Runner
uses: step-security/harden-runner@128a63446a954579617e875aaab7d2978154e969 # v2.4.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >-
docs.djangoproject.com:443
docs.python.org:443
files.pythonhosted.org:443
github.com:443
pypi.org:443
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: "Install dependencies"
run: |
python -VV
python -Im site
python -Im pip install --upgrade pip setuptools wheel
python -Im pip install --upgrade nox
python -Im nox --version
- name: "Run CI suite with nox"
run: "python -Im nox --non-interactive --error-on-external-run --python ${{ matrix.python-version }}"