Skip to content

Commit

Permalink
support windows
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 committed Mar 12, 2024
1 parent dfea16a commit 319a1b4
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/CI_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,23 @@ jobs:

- name: Run tests
run: |
for d in integrations/* ; do
if [ "$(basename $d)" != "amazon_sagemaker" ]; then
cd $d
hatch run cov
hatch env prune # clean up the environment after docs generation
cd -
fi
done
if [ "${{ runner.os }}" = "Windows" ]; then
Get-ChildItem -Directory "integrations" | ForEach-Object {
if ($_.Name -ne "prova") {
Set-Location $_.FullName
hatch run cov
hatch env prune # clean up the environment after docs generation
Set-Location ..
}
}
else
for d in integrations/* ; do
if [ "$(basename $d)" != "prova" ]; then
cd $d
hatch run cov
hatch env prune # clean up the environment after docs generation
cd -
fi
done
fi

0 comments on commit 319a1b4

Please sign in to comment.