Skip to content

Commit 841eae3

Browse files
Issue fixed in environment creation in maximus-create-env-action of UNIT-TEST-GEN-ALL.yml (#470)
* Update UNIT-TEST-GEN-ALL.yml - removed cd command to maintain cwd * Update UNIT-TEST-GEN-ALL.yml - updated path in GENAI-UNIT-TEST-GENERATE * updating inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager_genai_unit_test.py[skip ci] * Update UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml - removed cd command from CREATE_USER_RUN_ENV * Update UNIT-TEST-GEN-ALL.yml - Updated INCLUDE_PATHS in UNIT-TEST-RUN * Update UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml * updating inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager_genai_unit_test.py[skip ci] * Delete inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager_genai_unit_test.py Not required for PR --------- Co-authored-by: Gen AI Copilot <141839948+nex-maximus@users.noreply.github.com>
1 parent 19942fa commit 841eae3

File tree

3 files changed

+5
-19
lines changed

3 files changed

+5
-19
lines changed

.github/workflows/UNIT-TEST-GEN-ALL.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
steps:
2020
- id: maximus-create-env-action
2121
run: |
22-
cd ../../../genai_ut_gen
23-
bash ./create_user_env.sh
22+
bash ../../../genai_ut_gen/create_user_env.sh
2423
env:
2524
# <Input relative filepath of your requirements.txt path i.e. dir-name/requirements.txt >
2625
REQUIREMENTS_PATH: inbm/dispatcher-agent/requirements.txt
@@ -57,5 +56,5 @@ jobs:
5756
env:
5857
GITHUB_CONTEXT: ${{ toJson(github) }}
5958
TASK_TYPE: run
60-
# INCLUDE_PATHS: <Include your paths here if want to run UT on specific files/dirs>
59+
INCLUDE_PATHS: inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager.py
6160
# EXCLUDE_PATHS: <Exclude your paths here if want to exclude specific files/dirs>

.github/workflows/UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@ jobs:
1818
steps:
1919
- id: maximus-create-env-action
2020
run: |
21-
cd ../../../genai_ut_gen
22-
bash ./create_user_env.sh
21+
bash ../../../genai_ut_gen/create_user_env.sh
2322
env:
2423
GITHUB_CONTEXT: ${{ toJson(github) }}
2524
# <Input relative filepath of your requirements.txt path i.e. dir-name/requirements.txt >
26-
REQUIREMENTS_PATH: requirements.txt
25+
REQUIREMENTS_PATH: inbm/dispatcher-agent/requirements.txt
2726

2827
UNIT-TEST-RUN:
2928
needs: CREATE-USER-RUN-ENV
@@ -39,5 +38,5 @@ jobs:
3938
env:
4039
GITHUB_CONTEXT: ${{ toJson(github) }}
4140
TASK_TYPE: run
42-
# INCLUDE_PATHS: <Include your paths here if want to run UT on specific files/dirs>
41+
INCLUDE_PATHS: inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager.py
4342
# EXCLUDE_PATHS: <Exclude your paths here if want to exclude specific files/dirs>

inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager_genai_unit_test.py

-12
This file was deleted.

0 commit comments

Comments
 (0)