Skip to content

Commit

Permalink
Merge pull request #8 from karlosss/fix-test-pypi-deploy-3
Browse files Browse the repository at this point in the history
fix test pypi deploy
  • Loading branch information
karlosss authored Oct 20, 2024
2 parents ec74373 + 6cabef8 commit b07c5e5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/push_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,13 @@ jobs:
name: VERSION
path: .

- name: Wait for 30 seconds for the package to become available
run: sleep 30

# retry up to 10 times in case the package is not available yet
- name: Install the package
run: pip install --extra-index-url https://test.pypi.org/simple/ --no-cache-dir swisspair[test]=="$(cat VERSION)"
uses: nick-fields/[email protected]
with:
retry_wait_seconds: 10
max_attempts: 10
command: pip install --extra-index-url https://test.pypi.org/simple/ --no-cache-dir swisspair[test]=="$(cat VERSION)"

- name: Run tests
run: pytest

0 comments on commit b07c5e5

Please sign in to comment.