diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f78ee1f..156faa0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | @@ -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 diff --git a/noxfile.py b/noxfile.py index 42619c6..03a882f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -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. """ diff --git a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/ci.yml.jinja b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/ci.yml.jinja index d724d0c..3e120b0 100644 --- a/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/ci.yml.jinja +++ b/template/[% if repo_platform == 'github' %].github[% endif %]/workflows/ci.yml.jinja @@ -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: | @@ -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 diff --git a/template/noxfile.py.jinja b/template/noxfile.py.jinja index 1b926fd..e937d78 100644 --- a/template/noxfile.py.jinja +++ b/template/noxfile.py.jinja @@ -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. """