mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -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
|
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
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -3,7 +3,7 @@ name: 🚀 Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*.*.*'
|
- 'v*.*'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue