Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:
export PYTHONPATH=$(pwd)
export NEMORUN_HOME=$(pwd)
pip install --no-cache-dir uv
uv sync --only-group test
uv sync --only-group test
uv run python tests/test_utils/python_scripts/launch_nemo_run_workload.py \
--scope unit-tests \
--model unit-tests \
Expand All @@ -90,7 +90,7 @@ runs:

RUN_TEST_EOF
)
echo "$cmd" | tee "job.sh"
echo "$cmd" | tee "job.sh"
echo "::endgroup::"

- name: Get PR info
Expand Down Expand Up @@ -133,13 +133,14 @@ runs:
else
ARGS=(
--scope mr-slim
--enable-lightweight-mode
)
fi

export PYTHONPATH=$(pwd)
export NEMORUN_HOME=$(pwd)
pip install --no-cache-dir uv
uv sync --only-group test
uv sync --only-group test
uv run python tests/test_utils/python_scripts/launch_nemo_run_workload.py \
${ARGS[@]} \
--model ${{ inputs.model }} \
Expand All @@ -151,7 +152,7 @@ runs:

RUN_TEST_EOF
)
echo "$cmd" | tee "job.sh"
echo "$cmd" | tee "job.sh"
echo "::endgroup::"

- name: Set timeout
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/cicd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ jobs:
needs: [pre-flight]
if: |
(
needs.pre-flight.outputs.is_deployment_workflow == 'false'
needs.pre-flight.outputs.is_deployment_workflow == 'false'
&& needs.pre-flight.outputs.is_ci_workload == 'true'
) || (
needs.pre-flight.outputs.is_deployment_workflow == 'false'
needs.pre-flight.outputs.is_deployment_workflow == 'false'
&& needs.pre-flight.outputs.is_ci_workload == 'false'
&& needs.pre-flight.outputs.docs_only == 'false'
)
Expand Down Expand Up @@ -193,8 +193,8 @@ jobs:
export GITLAB_ENDPOINT=github.com
export CI_PROJECT_NAMESPACE=NVIDIA
export BASE_REF="${{ fromJSON(steps.get-pr-info.outputs.pr-info).base.ref }}"
export CHECK_ONLY=true
export SKIP_DOCS=false
export CHECK_ONLY=true
export SKIP_DOCS=false
bash tools/autoformat.sh

cicd-wait-in-queue:
Expand All @@ -217,7 +217,7 @@ jobs:
environment: nemo-ci
if: |
(
success()
success()
|| needs.pre-flight.outputs.is_ci_workload == 'true'
|| needs.pre-flight.outputs.force_run_all == 'true'
)
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
- cicd-container-build
if: |
(
success()
success()
|| needs.pre-flight.outputs.is_ci_workload == 'true'
|| needs.pre-flight.outputs.force_run_all == 'true'
)
Expand Down Expand Up @@ -340,7 +340,7 @@ jobs:
environment: nemo-ci
if: |
(
success()
success()
|| needs.pre-flight.outputs.is_ci_workload == 'true'
|| needs.pre-flight.outputs.force_run_all == 'true'
)
Expand Down Expand Up @@ -373,7 +373,7 @@ jobs:
environment: nemo-ci
if: |
(
success()
success()
|| needs.pre-flight.outputs.is_ci_workload == 'true'
|| needs.pre-flight.outputs.force_run_all == 'true'
)
Expand Down Expand Up @@ -414,6 +414,7 @@ jobs:
else
ARGS=(
--scope mr-slim
--enable-lightweight-mode
)
fi

Expand Down Expand Up @@ -457,7 +458,7 @@ jobs:
PIP_ROOT_USER_ACTION: ignore
if: |
(
success()
success()
|| needs.pre-flight.outputs.is_ci_workload == 'true'
|| needs.pre-flight.outputs.force_run_all == 'true'
)
Expand Down Expand Up @@ -540,7 +541,7 @@ jobs:
script: |
await github.rest.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
repo: context.repo.repo,
sha: context.sha,
state: 'success',
description: 'No code changes - coverage check skipped',
Expand Down
Loading