Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 3323eaa

Browse files
author
Joseph Burling
committed
fix(workflow): 🧪 fix wrong cli name
1 parent 93e37b5 commit 3323eaa

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

datajoint-workflow/{{cookiecutter.github_repo}}/.github/workflows/main-cicd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- run: |
51-
echo "The 'run-tests' workflow failed or did not run. Skipping 'semantic-versioning' workflow."{% endraw %}
51+
echo "The 'run-tests' workflow failed or did not run. Skipping 'semantic-versioning' workflow."
52+
exit 1{% endraw %}

datajoint-workflow/{{cookiecutter.github_repo}}/.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
py_ver: ${{ matrix.python-version }}
3838
key_append: test-${{ matrix.python-version }}
3939

40-
- name: 🐍 Build all package dependencies and run entrypoint script
40+
- name: 🐍 Build all package dependencies and run main cli
4141
run: nox --force-python ${{ matrix.python-version }} -s main_cli -v --non-interactive
4242

4343
- name: 🐍 Run pytest

datajoint-workflow/{{cookiecutter.github_repo}}/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def main_cli(session: nox.Session) -> None:
109109
"""
110110

111111
install_dependencies(session, "dev", "test", "doc", "sciops")
112-
session.run("{{cookiecutter.__pkg_import_name}}_entrypoint", "--version")
112+
session.run("{{cookiecutter.__pkg_import_name}}", "--version")
113113

114114

115115
@nox.session(python=default_python_version, reuse_venv=True)

0 commit comments

Comments
 (0)