File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9595 python-version : ${{ matrix.python-version }}
9696 - name : Run check
9797 run : |
98- python -m pip install flake8 ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }} --extra-index-url https://test.pypi.org/simple/
98+ for i in 1 2 3 4 5; do python -m pip install flake8 ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }} --extra-index-url https://test.pypi.org/simple/ && break || sleep 10; done
9999 echo '"""Docstring."""' > test_.py
100100 flake8 test_.py
101101 release-pypi :
@@ -161,6 +161,6 @@ jobs:
161161 python-version : ${{ matrix.python-version }}
162162 - name : Run check
163163 run : |
164- python -m pip install flake8 ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }}
164+ for i in 1 2 3 4 5; do python -m pip install flake8 ${{ needs.constants.outputs.package_name }}==${{ needs.constants.outputs.package_version }} && break || sleep 10; done
165165 echo '"""Docstring."""' > test_.py
166166 flake8 test_.py
You can’t perform that action at this time.
0 commit comments