Skip to content

Commit

Permalink
Adding sleep to fix problem on Windows workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfolgado committed Jul 2, 2024
1 parent b1c86b2 commit 7012700
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ jobs:
# python tests/test_calc_features.py
- name: Test the data loaders
run: |
retry_count=3
while [ $retry_count -gt 0 ]; do
python tests/test_dataset_loaders.py && break
retry_count=$((retry_count - 1))
sleep 5
done
$retry_count = 3
while ($retry_count -gt 0) {
python tests/test_dataset_loaders.py
if ($LASTEXITCODE -eq 0) {
break
}
$retry_count--
Start-Sleep -Seconds 5
}

0 comments on commit 7012700

Please sign in to comment.