mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 12:13:15 -06:00
ci: nox >>>>
This commit is contained in:
parent
5eb67be353
commit
640bcba873
3 changed files with 6 additions and 7 deletions
7
.github/workflows/docs.yml
vendored
7
.github/workflows/docs.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -3,7 +3,7 @@ name: 🚀 Release
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
- 'v*.*'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue