Skip to content

Commit

Permalink
Add extra-index-url option for pypi validation (#1960)
Browse files Browse the repository at this point in the history
* Add extra-index-url option for pypi validation

* test
  • Loading branch information
atalman authored Aug 14, 2024
1 parent 2a0ed77 commit b679fd4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/validate-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ on:
required: false
type: boolean
default: false
use-extra-index-url:
description: 'Use extra-index url for pip tests'
default: false
required: false
type: boolean
workflow_dispatch:
inputs:
os:
Expand Down Expand Up @@ -117,6 +122,11 @@ on:
required: false
type: boolean
default: false
use-extra-index-url:
description: 'Use extra-index url for pip tests'
default: false
required: false
type: boolean


jobs:
Expand All @@ -138,6 +148,7 @@ jobs:
release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }}
use-only-dl-pytorch-org: ${{ inputs.use-only-dl-pytorch-org }}
use-force-reinstall: ${{ inputs.use-force-reinstall }}
use-extra-index-url: ${{ inputs.use-extra-index-url }}

linux:
if: inputs.os == 'linux' || inputs.os == 'all'
Expand All @@ -154,6 +165,7 @@ jobs:
use-only-dl-pytorch-org: ${{ inputs.use-only-dl-pytorch-org }}
use-force-reinstall: ${{ inputs.use-force-reinstall }}
use_split_build: ${{ inputs.use_split_build }}
use-extra-index-url: ${{ inputs.use-extra-index-url }}

linux-aarch64:
if: inputs.os == 'linux-aarch64' || inputs.os == 'all'
Expand All @@ -168,6 +180,7 @@ jobs:
release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }}
use-only-dl-pytorch-org: ${{ inputs.use-only-dl-pytorch-org }}
use-force-reinstall: ${{ inputs.use-force-reinstall }}
use-extra-index-url: ${{ inputs.use-extra-index-url }}

mac-arm64:
if: inputs.os == 'macos' || inputs.os == 'all'
Expand All @@ -182,3 +195,4 @@ jobs:
release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }}
use-only-dl-pytorch-org: ${{ inputs.use-only-dl-pytorch-org }}
use-force-reinstall: ${{ inputs.use-force-reinstall }}
use-extra-index-url: ${{ inputs.use-extra-index-url }}

0 comments on commit b679fd4

Please sign in to comment.