Skip to content

Commit

Permalink
CI RF-tests, try TF install several times
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Jul 12, 2024
1 parent 65e2623 commit d5b954b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,10 @@ jobs:
pip install --user --upgrade "gast<=0.4.0"
fi
pip install --user --upgrade --progress-bar=off tensorflow==${{ matrix.tf-version }}
# Retry several times in case download breaks. https://github.com/pypa/pip/issues/4796
for ((i=0; i<3; i++)); do
if pip install --user --upgrade --progress-bar=off tensorflow==${{ matrix.tf-version }}; then break; fi
done
- name: Test Python/Numpy/PyTorch versions.
run: |
Expand Down

0 comments on commit d5b954b

Please sign in to comment.