Skip to content

Commit

Permalink
fix: ci use pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
ArslanSaleem committed Jan 8, 2025
1 parent 4d84252 commit ea9a37d
Showing 1 changed file with 6 additions and 25 deletions.
31 changes: 6 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ jobs:
echo "Installing dependencies for $dir"
(
cd "$dir" || exit
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry install --all-extras --with test --verbose
)
echo "Running tests for $dir"
(
Expand All @@ -75,10 +72,7 @@ jobs:
echo "Installing dependencies for $dir"
(
cd "$dir" || exit
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry install --all-extras --with test --verbose
)
echo "Running tests for $dir"
(
Expand All @@ -96,10 +90,7 @@ jobs:
echo "Installing dependencies for $dir"
(
cd "$dir" || exit
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry install --all-extras --with test --verbose
)
echo "Running tests for $dir"
(
Expand All @@ -118,10 +109,7 @@ jobs:
if (Test-Path $testDir) {
Write-Host "Running tests for $($_.FullName)"
Push-Location $_.FullName
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry install --all-extras --with test --verbose
poetry run pytest tests/
Pop-Location
}
Expand All @@ -133,10 +121,7 @@ jobs:
if (Test-Path $testDir) {
Write-Host "Running tests for $($_.FullName)"
Push-Location $_.FullName
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry install --all-extras --with test --verbose
poetry run pytest tests/
Pop-Location
}
Expand All @@ -148,11 +133,7 @@ jobs:
if (Test-Path $testDir) {
Write-Host "Running tests for $($_.FullName)"
Push-Location $_.FullName
poetry install --all-extras
poetry add [email protected]
poetry add [email protected]
poetry add [email protected]
poetry run pytest tests/
poetry install --all-extras --with test --verbose
Pop-Location
}
}
Expand Down

0 comments on commit ea9a37d

Please sign in to comment.