Switch testing/build suite from Nox to Hatch #1751
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Install Python Dependencies | |
run: pip install --upgrade pip hatch uv | |
# DISABLED DUE TO DJANGO DOCS CONSTANTLY THROWING 429 ERRORS | |
# - name: Check documentation links | |
# run: hatch run docs:linkcheck | |
- name: Check docs build | |
run: hatch run docs:build | |
- name: Check docs examples | |
run: hatch run docs:check_examples |