From 3943b93977cdb7afd65ee74f14048d18e145b418 Mon Sep 17 00:00:00 2001 From: John Agapiou Date: Tue, 19 Mar 2024 16:18:59 -0700 Subject: [PATCH] Allow pypi-test.yml to test specific version PiperOrigin-RevId: 617326117 Change-Id: I200f84b4dfe73fc06a11524e6f61ad9b832eceb2 --- .github/workflows/pypi-test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index d126a4d5..b8a42d15 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -21,6 +21,11 @@ on: types: - completed workflow_dispatch: + inputs: + version: + description: 'Version to test' + type: string + default: '' permissions: read-all @@ -56,7 +61,8 @@ jobs: - name: Install from PyPI run: | - pip -vvv install gdm-concordia + VERSION="${{github.event.inputs.version}}" + pip -vvv install "gdm-concordia${VERSION:+==$VERSION}" pip list - name: Test installation