diff --git a/.github/workflows/ON-BOARDING-NEW-BRANCH.yml b/.github/workflows/ON-BOARDING-NEW-BRANCH.yml new file mode 100644 index 000000000..eebaef9c6 --- /dev/null +++ b/.github/workflows/ON-BOARDING-NEW-BRANCH.yml @@ -0,0 +1,21 @@ +name: ON-BOARDING-NEW-BRANCH +on: + workflow_dispatch +jobs: + Checkout: + runs-on: [self-hosted, maximus-unit-test] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + CREATE-PR: + needs: Checkout + runs-on: [self-hosted, maximus-unit-test] + name: Create GenAI Branch and PR + steps: + - id: maximus-create-pr-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/create-pr@feature/genai_ut_eval_release + env: + GITHUB_CONTEXT: ${{ toJson(github) }} diff --git a/.github/workflows/UNIT-TEST-GEN-ALL.yml b/.github/workflows/UNIT-TEST-GEN-ALL.yml new file mode 100644 index 000000000..a194ed404 --- /dev/null +++ b/.github/workflows/UNIT-TEST-GEN-ALL.yml @@ -0,0 +1,48 @@ +name: UNIT-TEST-GEN-ALL +on: + workflow_dispatch: + # pull_request: +jobs: + Checkout: + if: startsWith(github.ref, 'refs/heads/NEX_MAXIMUS_UT/') + runs-on: [self-hosted, maximus-unit-test] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + CREATE-USER-RUN-ENV: + needs: Checkout + runs-on: [self-hosted, maximus-unit-test] + name: Create User Run Environment + steps: + - id: maximus-create-env-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/create-env@feature/genai_ut_eval_release + env: + # + REQUIREMENTS_PATH: requirements.txt + + GENAI-UNIT-TEST-GENERATE: + needs: CREATE-USER-RUN-ENV + runs-on: [self-hosted, maximus-unit-test] + name: Generate Unit Tests using GenAI + steps: + - id: maximus-ut-gen-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/unit-test@feature/genai_ut_eval_release + env: + TASK_TYPE: generate + # INCLUDE_PATHS: + # EXCLUDE_PATHS: + + UNIT-TEST-RUN: + needs: GENAI-UNIT-TEST-GENERATE + runs-on: [self-hosted, maximus-unit-test] + name: Run Unit Tests + steps: + - id: maximus-ut-run-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/unit-test@feature/genai_ut_eval_release + env: + TASK_TYPE: run + # INCLUDE_PATHS: + # EXCLUDE_PATHS: diff --git a/.github/workflows/UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml b/.github/workflows/UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml new file mode 100644 index 000000000..cc12622a4 --- /dev/null +++ b/.github/workflows/UNIT-TEST-RUN-WORKFLOW-DISPATCH.yml @@ -0,0 +1,35 @@ +name: UNIT-TEST-RUN-WORKFLOW-DISPATCH +on: + workflow_dispatch +jobs: + Checkout: + if: startsWith(github.ref, 'refs/heads/NEX_MAXIMUS_UT/') + runs-on: [self-hosted, maximus-unit-test] + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + CREATE-USER-RUN-ENV: + needs: Checkout + runs-on: [self-hosted, maximus-unit-test] + name: Create User Run Environment + steps: + - id: maximus-create-env-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/create-env@feature/genai_ut_eval_release + env: + # + REQUIREMENTS_PATH: requirements.txt + + UNIT-TEST-RUN: + needs: CREATE-USER-RUN-ENV + runs-on: [self-hosted, maximus-unit-test] + name: Run Unit Tests + steps: + - id: genai-maximus-action + uses: intel-innersource/frameworks.actions.maximus.genai-gpt/unit-test@feature/genai_ut_eval_release + env: + TASK_TYPE: run + # INCLUDE_PATHS: + # EXCLUDE_PATHS: