Skip to content

Commit

Permalink
Issue fixed in environment creation in maximus-create-env-action of U…
Browse files Browse the repository at this point in the history
…NIT-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 <[email protected]>
  • Loading branch information
ankit-r-gajera and nex-maximus authored Jan 24, 2024
1 parent 19942fa commit 841eae3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/UNIT-TEST-GEN-ALL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
steps:
- id: maximus-create-env-action
run: |
cd ../../../genai_ut_gen
bash ./create_user_env.sh
bash ../../../genai_ut_gen/create_user_env.sh
env:
# <Input relative filepath of your requirements.txt path i.e. dir-name/requirements.txt >
REQUIREMENTS_PATH: inbm/dispatcher-agent/requirements.txt
Expand Down Expand Up @@ -57,5 +56,5 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
TASK_TYPE: run
# INCLUDE_PATHS: <Include your paths here if want to run UT on specific files/dirs>
INCLUDE_PATHS: inbm/dispatcher-agent/dispatcher/source/ubuntu_source_manager.py
# EXCLUDE_PATHS: <Exclude your paths here if want to exclude specific files/dirs>
7 changes: 3 additions & 4 deletions .github/workflows/UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ jobs:
steps:
- id: maximus-create-env-action
run: |
cd ../../../genai_ut_gen
bash ./create_user_env.sh
bash ../../../genai_ut_gen/create_user_env.sh
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
# <Input relative filepath of your requirements.txt path i.e. dir-name/requirements.txt >
REQUIREMENTS_PATH: requirements.txt
REQUIREMENTS_PATH: inbm/dispatcher-agent/requirements.txt

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

This file was deleted.

0 comments on commit 841eae3

Please sign in to comment.