File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,16 @@ jobs:
3333 run : make dist
3434
3535 - name : Install Test Package
36- run : |
37- pip install -r requirements.txt
38- pip install dist/scanoss-*-py3-none-any.whl
39- which scanoss-py
36+ uses : nick-fields/retry@v3
37+ with :
38+ timeout_minutes : 2
39+ retry_wait_seconds : 10
40+ max_attempts : 3
41+ retry_on : error
42+ command : |
43+ pip install -r requirements.txt
44+ pip install dist/scanoss-*-py3-none-any.whl
45+ which scanoss-py
4046
4147 - name : Run Tests
4248 run : |
Original file line number Diff line number Diff line change @@ -73,13 +73,19 @@ jobs:
7373 python-version : ' 3.10.x'
7474
7575 - name : Install Remote Package
76- run : |
77- scanoss_version=$(python ./version.py)
78- echo "Sleeping before checking PyPI for new release version ${scanoss_version}..."
79- sleep 60
80- echo "Installing scanoss ${scanoss_version}..."
81- pip install --upgrade scanoss==$scanoss_version
82- which scanoss-py
76+ uses : nick-fields/retry@v3
77+ with :
78+ timeout_minutes : 3
79+ retry_wait_seconds : 10
80+ max_attempts : 3
81+ retry_on : error
82+ command : |
83+ scanoss_version=$(python ./version.py)
84+ echo "Sleeping before checking PyPI for new release version ${scanoss_version}..."
85+ sleep 60
86+ echo "Installing scanoss ${scanoss_version}..."
87+ pip install --upgrade scanoss==$scanoss_version
88+ which scanoss-py
8389
8490 - name : Run Tests
8591 run : |
You can’t perform that action at this time.
0 commit comments