Skip to content

Commit

Permalink
Allow pypi-test.yml to test specific version
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 617326117
Change-Id: I200f84b4dfe73fc06a11524e6f61ad9b832eceb2
  • Loading branch information
jagapiou authored and copybara-github committed Mar 19, 2024
1 parent cb505d3 commit 3943b93
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ on:
types:
- completed
workflow_dispatch:
inputs:
version:
description: 'Version to test'
type: string
default: ''

permissions: read-all

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3943b93

Please sign in to comment.