Skip to content

Commit

Permalink
Pin version numbers in pypi-publish.yml
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 590552568
Change-Id: I8677b54d084e881090aea381c6d5feb211bd683c
  • Loading branch information
jagapiou authored and Copybara-Service committed Dec 13, 2023
1 parent 2920c48 commit 1481dad
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,21 @@ jobs:

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install build
pip install pip==23.3.1
pip install build==1.0.3
pip install pytest-xdist==3.5.0
pip install setuptools==68.0.0
- name: Build distribution
run: python -m build --outdir dist/

- name: Install from source distribution
if: github.event_name == 'release' || inputs.test_wheel
run: |
pip install setuptools
pip -vvv install dist/*.whl
run: pip -vvv install dist/*.whl

- name: Test installation
if: github.event_name == 'release' || inputs.test_wheel
run: |
pip install pytest-xdist
pytest -n auto -rax --pyargs concordia
run: pytest -n auto -rax --pyargs concordia

- name: Publish to TestPyPI
if: github.event_name == 'release' || inputs.upload_to_test_pypi
Expand Down

0 comments on commit 1481dad

Please sign in to comment.