File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,14 +49,14 @@ jobs:
4949 - name : Hugging Face Login
5050 run : |
5151 for i in {1..5}; do
52+ token="${{ secrets.UNITXT_READ_HUGGINGFACE_HUB_FOR_TESTS }}"
53+ echo "token=${token}" >> $GITHUB_STEP_SUMMARY
5254 huggingface-cli login --token ${{ secrets.UNITXT_READ_HUGGINGFACE_HUB_FOR_TESTS }} && break || sleep $((2 ** i));
5355 done
5456 - name : Run Tests
5557 run : |
5658 modulo="${{ matrix.modulo }}"
5759 echo "modulo=${modulo}" >> $GITHUB_STEP_SUMMARY
58- token="${{ secrets.UNITXT_READ_HUGGINGFACE_HUB_FOR_TESTS }}"
59- echo "token=${token}" >> $GITHUB_STEP_SUMMARY
6060 echo "sed -i 's/^num_par = 1 /num_par = 8 /' tests/catalog/test_preparation.py" > sedit.sh
6161 echo "sed -i 's/^modulo = 0/modulo = ${modulo}/' tests/catalog/test_preparation.py" >> sedit.sh
6262 sh sedit.sh
You can’t perform that action at this time.
0 commit comments