Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Sep 20, 2022
1 parent 273f34f commit 6374fb9
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/validate-linux-binaries.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate binary images
name: Validate linux binaries

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
pull_request:
paths:
- .github/workflows/validate-linux-binaries.yml
- .test/smoke_test/smoke_test.py
- .test/smoke_test/*
jobs:
generate-conda-matrix:
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
Expand All @@ -29,6 +29,8 @@ jobs:
package-type: libtorch
os: linux
channel: nightly


validate-linux-binaries-conda:
needs: generate-conda-matrix
strategy:
Expand All @@ -37,10 +39,8 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.validation_runner }}
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v2
- name: Validate binary conda
uses: ./.github/actions/validate-linux-binary
uses: pytorch/builder/.github/actions/validate-binary@main
with:
gpu_arch_type: ${{ matrix.gpu_arch_type }}
gpu_arch_ver: ${{ matrix.gpu_arch_version }}
Expand All @@ -54,10 +54,8 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.validation_runner }}
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v2
- name: Validate binary wheel
uses: ./.github/actions/validate-linux-binary
uses: pytorch/builder/.github/actions/validate-binary@main
with:
gpu_arch_type: ${{ matrix.gpu_arch_type }}
gpu_arch_ver: ${{ matrix.gpu_arch_version }}
Expand All @@ -73,8 +71,6 @@ jobs:
env:
PYTHON_VERSION: ${{ matrix.python_version }}
steps:
- name: Checkout PyTorch builder
uses: actions/checkout@v2
- name: Install pytorch and smoke test
env:
INSTALLATION: ${{ matrix.installation }}
Expand Down

0 comments on commit 6374fb9

Please sign in to comment.