Skip to content

Commit add4488

Browse files
authored
Exclude pipy and poetry tests when USE_ONLY_DL_PYTORCH_ORG is set (#1693)
1 parent 88adb30 commit add4488

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/validate-linux-binaries.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,17 @@ jobs:
107107
export ENV_NAME="conda-env-${{ github.run_id }}"
108108
export TORCH_ONLY=${{ inputs.torchonly }}
109109
export INCLUDE_TEST_OPS=${{ inputs.include-test-ops }}
110+
export USE_ONLY_DL_PYTORCH_ORG=${{ inputs.use-only-dl-pytorch-org }}
110111
export RELEASE_VERSION=${{ inputs.version }}
111112
export TARGET_OS="linux"
112113
eval "$(conda shell.bash hook)"
113114
printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json
114115
115116
# Special case PyPi installation package. And Install of PyPi package via poetry
116-
if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" && ${MATRIX_CHANNEL} == "release" ]]; then
117+
if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && \
118+
${MATRIX_GPU_ARCH_VERSION} == "12.1" && \
119+
${MATRIX_CHANNEL} == "release" && \
120+
${USE_ONLY_DL_PYTORCH_ORG} == "false" ]]; then
117121
source ./.github/scripts/validate_pipy.sh
118122
source ./.github/scripts/validate_poetry.sh
119123
fi

0 commit comments

Comments
 (0)