Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: simplify nox command to template #46

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: pipx install copier==9.4.1

- name: Verify template
run: pipx run nox -s template_build
run: pipx run nox -s template

- name: Test for consistency
run: |
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
run: pipx install copier==9.4.1

- name: Apply mkdocs
run: pipx run nox -s template_build -- -d docs_type=mkdocs
run: pipx run nox -s template -- -d docs_type=mkdocs

- name: Checks the docs with warnings as errors
run: pipx run nox -s docs -- --check
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def build(session: nox.Session) -> None:


@nox.session(reuse_venv=True)
def template_build(session: nox.Session) -> None:
def template(session: nox.Session) -> None:
"""
Build template for the current repo only.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
run: pipx install copier==9.4.1

- name: Verify template
run: pipx run nox -s template_build
run: pipx run nox -s template

- name: Test for consistency
run: |
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
run: pipx install copier==9.4.1

- name: Apply mkdocs
run: pipx run nox -s template_build -- -d docs_type=mkdocs
run: pipx run nox -s template -- -d docs_type=mkdocs

- name: Checks the docs with warnings as errors
run: pipx run nox -s docs -- --check
Expand Down
2 changes: 1 addition & 1 deletion template/noxfile.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def build(session: nox.Session) -> None:


@nox.session(reuse_venv=True)
def template_build(session: nox.Session) -> None:
def template(session: nox.Session) -> None:
"""
Build template for the current repo only.
"""
Expand Down
Loading