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 python-version: 3.11
cache: true cache: true
- name: Setup Project - run: pip install nox
run: pdm install
- name: Build Docs - name: Build Docs
run: | run: nox -s svgs docs
FORCE_COLOR=1 make svgs
make docs
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2

View file

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

View file

@ -29,7 +29,9 @@ def typecheck(session):
@nox.session @nox.session
def svgs(session): def svgs(session):
pdm_install(session, "docs") 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 @nox.session