Skip to content

Commit

Permalink
Add continue on error to validation jobs (#1209)
Browse files Browse the repository at this point in the history
* Add continue on error to validation jobs

* test
  • Loading branch information
atalman committed Nov 29, 2022
1 parent 85fc343 commit 45572b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/validate-linux-binaries.yml
Expand Up @@ -49,6 +49,7 @@ jobs:
repository: "pytorch/builder"
ref: ${{ inputs.ref || github.ref }}
job-name: ${{ matrix.build_name }}
continue-on-error: true
script: |
set -ex
export ENV_NAME="conda-env-${{ github.run_id }}"
Expand All @@ -70,6 +71,7 @@ jobs:
curl ${{ matrix.installation }} -o libtorch.zip
unzip libtorch.zip
else
INSTALLATION=${INSTALLATION/"conda install"/"conda install -y"}
eval $INSTALLATION
python ./test/smoke_test/smoke_test.py
${PWD}/check_binary.sh
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-macos-binaries.yml
Expand Up @@ -55,6 +55,7 @@ jobs:
repository: "pytorch/builder"
ref: ${{ inputs.ref || github.ref }}
job-name: ${{ matrix.build_name }}
continue-on-error: true
script: |
set -ex
export ENV_NAME="conda-env-${{ github.run_id }}"
Expand Down Expand Up @@ -94,6 +95,7 @@ jobs:
repository: "pytorch/builder"
ref: ${{ inputs.ref || github.ref }}
job-name: ${{ matrix.build_name }}
continue-on-error: true
script: |
set -ex
export ENV_NAME="conda-env-${{ github.run_id }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/validate-windows-binaries.yml
Expand Up @@ -49,6 +49,7 @@ jobs:
repository: "pytorch/builder"
ref: ${{ inputs.ref || github.ref }}
job-name: ${{ matrix.build_name }}
continue-on-error: true
script: |
set -ex
export ENV_NAME="conda-env-${{ github.run_id }}"
Expand Down

0 comments on commit 45572b6

Please sign in to comment.