Skip to content

Doc tweaks, populate extensions by-example, add Loader.add method #1600

Doc tweaks, populate extensions by-example, add Loader.add method

Doc tweaks, populate extensions by-example, add Loader.add method #1600

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run format checks
run: |
pip install nox
nox -s format_check
type-check:
name: Type-check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run pyright
run: |
pip install nox
nox -s typecheck
slotscheck:
name: Slotscheck
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Run slotscheck
run: |
pip install nox
nox -s slotscheck
fragment-check:
name: Fragment check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check changelog fragment exists
run: |
PR_NUMBER=${{ github.event.number }}
if [ -n "$(compgen -G "fragments/${PR_NUMBER}.*.md")" ]; then
echo "Fragment exists"
exit 0
fi
echo "Fragment does not exist"
exit 1