ci: nox >>>>

This commit is contained in:
Daylin Morgan 2023-08-22 22:47:33 -05:00
parent 5eb67be353
commit 640bcba873
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
3 changed files with 6 additions and 7 deletions

View file

@ -19,13 +19,10 @@ jobs:
python-version: 3.11
cache: true
- name: Setup Project
run: pdm install
- run: pip install nox
- name: Build Docs
run: |
FORCE_COLOR=1 make svgs
make docs
run: nox -s svgs docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

View file

@ -3,7 +3,7 @@ name: 🚀 Release
on:
push:
tags:
- 'v*.*.*'
- 'v*.*'
permissions:
contents: write

View file

@ -29,7 +29,9 @@ def typecheck(session):
@nox.session
def svgs(session):
pdm_install(session, "docs")
session.run("./scripts/generate-svgs.py", external=True)
session.run(
"./scripts/generate-svgs.py", external=True, env={"FORCE_COLOR": "true"}
)
@nox.session