Skip to content

Commit 6374fb9

Browse files
committed
Testing
1 parent 273f34f commit 6374fb9

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

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

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Validate binary images
1+
name: Validate linux binaries
22

33
on:
44
push:
@@ -9,7 +9,7 @@ on:
99
pull_request:
1010
paths:
1111
- .github/workflows/validate-linux-binaries.yml
12-
- .test/smoke_test/smoke_test.py
12+
- .test/smoke_test/*
1313
jobs:
1414
generate-conda-matrix:
1515
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
@@ -29,6 +29,8 @@ jobs:
2929
package-type: libtorch
3030
os: linux
3131
channel: nightly
32+
33+
3234
validate-linux-binaries-conda:
3335
needs: generate-conda-matrix
3436
strategy:
@@ -37,10 +39,8 @@ jobs:
3739
fail-fast: false
3840
runs-on: ${{ matrix.validation_runner }}
3941
steps:
40-
- name: Checkout PyTorch builder
41-
uses: actions/checkout@v2
4242
- name: Validate binary conda
43-
uses: ./.github/actions/validate-linux-binary
43+
uses: pytorch/builder/.github/actions/validate-binary@main
4444
with:
4545
gpu_arch_type: ${{ matrix.gpu_arch_type }}
4646
gpu_arch_ver: ${{ matrix.gpu_arch_version }}
@@ -54,10 +54,8 @@ jobs:
5454
fail-fast: false
5555
runs-on: ${{ matrix.validation_runner }}
5656
steps:
57-
- name: Checkout PyTorch builder
58-
uses: actions/checkout@v2
5957
- name: Validate binary wheel
60-
uses: ./.github/actions/validate-linux-binary
58+
uses: pytorch/builder/.github/actions/validate-binary@main
6159
with:
6260
gpu_arch_type: ${{ matrix.gpu_arch_type }}
6361
gpu_arch_ver: ${{ matrix.gpu_arch_version }}
@@ -73,8 +71,6 @@ jobs:
7371
env:
7472
PYTHON_VERSION: ${{ matrix.python_version }}
7573
steps:
76-
- name: Checkout PyTorch builder
77-
uses: actions/checkout@v2
7874
- name: Install pytorch and smoke test
7975
env:
8076
INSTALLATION: ${{ matrix.installation }}

0 commit comments

Comments
 (0)