Skip to content

Commit

Permalink
chore(ci): fix test-pip-install randomly failling part 2
Browse files Browse the repository at this point in the history
use a longer wait time; only run on main branch
  • Loading branch information
MrLixm committed Nov 15, 2024
1 parent 55c4243 commit e3d339a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,14 @@ jobs:
name: Pip install the package from TestPyPI
runs-on: ubuntu-latest
needs: publish-to-testpypi

# only run on main because it's slow due to the 'sleep' we have to use
if: ${{ github.ref == 'refs/heads/main' }}

steps:
# this is a hack to let PyPi refresh for the upload that just happened
- name: Sleep for 30s
run: sleep 30s
- name: Sleep for 1min30
run: sleep 90s
shell: bash
# needed for pytest at the end
- uses: actions/checkout@v4
Expand Down

0 comments on commit e3d339a

Please sign in to comment.