Skip to content

Commit

Permalink
Exclude pipy and poetry tests when USE_ONLY_DL_PYTORCH_ORG is set (#1693
Browse files Browse the repository at this point in the history
)
  • Loading branch information
atalman committed Jan 30, 2024
1 parent 88adb30 commit add4488
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/validate-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,17 @@ jobs:
export ENV_NAME="conda-env-${{ github.run_id }}"
export TORCH_ONLY=${{ inputs.torchonly }}
export INCLUDE_TEST_OPS=${{ inputs.include-test-ops }}
export USE_ONLY_DL_PYTORCH_ORG=${{ inputs.use-only-dl-pytorch-org }}
export RELEASE_VERSION=${{ inputs.version }}
export TARGET_OS="linux"
eval "$(conda shell.bash hook)"
printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json
# Special case PyPi installation package. And Install of PyPi package via poetry
if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" && ${MATRIX_CHANNEL} == "release" ]]; then
if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && \
${MATRIX_GPU_ARCH_VERSION} == "12.1" && \
${MATRIX_CHANNEL} == "release" && \
${USE_ONLY_DL_PYTORCH_ORG} == "false" ]]; then
source ./.github/scripts/validate_pipy.sh
source ./.github/scripts/validate_poetry.sh
fi
Expand Down

0 comments on commit add4488

Please sign in to comment.