Skip to content

Commit 6ae2652

Browse files
authored
Changes for Python 3.11 and smoke Test RC cut (#1316)
* Smoke Test RC cut * Validate binaries 3.11 * test * Smoke test binaries * Fix pytorch-cuda chan download * Remove temp change
1 parent 37a7f84 commit 6ae2652

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ else
66
if [[ ${MATRIX_PYTHON_VERSION} == '3.11' ]]; then
77
conda create -y -n ${ENV_NAME} python=${MATRIX_PYTHON_VERSION}
88
conda activate ${ENV_NAME}
9-
eval $MATRIX_INSTALLATION
10-
python ./test/smoke_test/smoke_test.py --package torchonly
9+
10+
INSTALLATION=${MATRIX_INSTALLATION/"-c pytorch"/"-c malfet -c pytorch"}
11+
INSTALLATION=${INSTALLATION/"pytorch-cuda"/"pytorch-${MATRIX_CHANNEL}::pytorch-cuda"}
12+
INSTALLATION=${INSTALLATION/"conda install"/"conda install -y"}
13+
14+
eval $INSTALLATION
15+
python ./test/smoke_test/smoke_test.py
1116
conda deactivate
1217
conda env remove -n ${ENV_NAME}
1318
else

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ on:
1717
- .github/workflows/validate-macos-binaries.yml
1818
- .github/workflows/validate-macos-arm64-binaries.yml
1919
- test/smoke_test/*
20-
pull_request:
21-
paths:
22-
- .github/workflows/validate-release-binaries.yml
23-
- .github/workflows/validate-linux-binaries.yml
24-
- .github/workflows/validate-windows-binaries.yml
25-
- .github/workflows/validate-macos-binaries.yml
26-
- .github/workflows/validate-macos-arm64-binaries.yml
27-
- test/smoke_test/*
2820

2921
jobs:
3022
release:

0 commit comments

Comments
 (0)