Skip to content

Commit

Permalink
ci: trying to fix sleep and links
Browse files Browse the repository at this point in the history
  • Loading branch information
zerothi committed Feb 9, 2022
1 parent 7bedb3a commit 64ba15d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ jobs:
password: ${{ secrets.TESTPYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Sleep for upload
run: sleep 10

# Check that the testpypi installation works
test_testpypi:
needs: [upload_testpypi]
Expand All @@ -208,11 +205,13 @@ jobs:
with:
python-version: "3.8"

# We should also wait for index to update on remote server
- name: Install sisl + dependencies
run: |
sleep 10
version=${GITHUB_REF#refs/*/v}
version=${version#refs/*/}
python -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ sisl[test]==${version}
python -m pip install --find-links dist --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ sisl[test]==${version}
- name: Test the installation
run: |
Expand Down

0 comments on commit 64ba15d

Please sign in to comment.