From 78d6e3b43d4d5dd6394bb31b30683cc62c377535 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Tue, 12 Dec 2023 09:24:51 -0800 Subject: [PATCH] Add alpha automation Minor dependency and code cleanup --- .dockerignore | 3 --- .github/workflows/publish_test_build.yml | 16 ++++++++++++++++ neon_llm_core/llm.py | 2 +- requirements/requirements.txt | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) delete mode 100644 .dockerignore create mode 100644 .github/workflows/publish_test_build.yml diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index f64d600..0000000 --- a/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -.vscode -__pycache__ -dist \ No newline at end of file diff --git a/.github/workflows/publish_test_build.yml b/.github/workflows/publish_test_build.yml new file mode 100644 index 0000000..a97d18b --- /dev/null +++ b/.github/workflows/publish_test_build.yml @@ -0,0 +1,16 @@ +name: Publish Alpha Build +on: + push: + branches: + - dev + paths-ignore: + - 'version.py' + +jobs: + publish_alpha_release: + uses: neongeckocom/.github/.github/workflows/publish_alpha_release.yml@master + secrets: inherit + with: + version_file: "version.py" + setup_py: "setup.py" + publish_prerelease: true diff --git a/neon_llm_core/llm.py b/neon_llm_core/llm.py index 390569c..e7495c5 100644 --- a/neon_llm_core/llm.py +++ b/neon_llm_core/llm.py @@ -107,4 +107,4 @@ def convert_role(cls, role: str) -> str: matching_llm_role = cls.mq_to_llm_role.get(role) if not matching_llm_role: raise ValueError(f"role={role} is undefined, supported are: {list(cls.mq_to_llm_role)}") - return matching_llm_role \ No newline at end of file + return matching_llm_role diff --git a/requirements/requirements.txt b/requirements/requirements.txt index b9f3251..89b0089 100644 --- a/requirements/requirements.txt +++ b/requirements/requirements.txt @@ -1,4 +1,4 @@ # networking -neon-mq-connector>=0.7.1a4 +neon-mq-connector~=0.7,>=0.7.1 ovos-utils~=0.0.32 ovos-config~=0.0.10 \ No newline at end of file