Skip to content

Commit 2eb1539

Browse files
committed
add pytest installs
1 parent 07e5c10 commit 2eb1539

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ jobs:
350350
install_file=$(echo bld/powerlift/powerlift-*.whl)
351351
install_file=$(basename "$install_file" .whl)
352352
python -m pip install "bld/powerlift/$install_file.whl[datasets,docker,postgres,mssql,aci,testing]"
353+
python -m pip install pytest pytest-xdist pytest-cov
353354
mkdir -p "tmp/zqmr/t"
354355
cp -R "python/powerlift/tests/" "tmp/zqmr/t/"
355356
cd "tmp/zqmr/t"
@@ -362,6 +363,7 @@ jobs:
362363
$install_file = $install_file.Name -replace '\.whl$', ''
363364
$env:PATH += ';C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Current\Bin'
364365
python -m pip install "bld/powerlift/$install_file.whl[datasets,docker,postgres,mssql,aci,testing]"
366+
python -m pip install pytest pytest-xdist pytest-cov
365367
New-Item -Path "tmp/zqmr/t" -ItemType Directory -Force
366368
xcopy /E "python\powerlift\tests\*" "tmp\zqmr\t\"
367369
cd "tmp/zqmr/t"
@@ -538,6 +540,7 @@ jobs:
538540
install_file=$(echo bld/sdist/interpret_core-*.tar.gz)
539541
install_file=$(basename "$install_file" .tar.gz)
540542
python -m pip install "bld/sdist/$install_file.tar.gz[debug,notebook,plotly,lime,sensitivity,shap,linear,treeinterpreter,aplr,dash,skoperules,excel,testing]"
543+
python -m pip install pytest pytest-xdist pytest-cov
541544
mkdir -p "tmp/zqmr/t"
542545
tar -xzvf "bld/sdist/$install_file.tar.gz" -C "tmp/zqmr/t" "$install_file/tests"
543546
cd "tmp/zqmr/t"
@@ -550,6 +553,7 @@ jobs:
550553
$install_file = $install_file.Name -replace '\.tar\.gz$', ''
551554
$env:PATH += ';C:\Program Files\Microsoft Visual Studio\18\Enterprise\MSBuild\Current\Bin'
552555
python -m pip install "bld/sdist/$install_file.tar.gz[debug,notebook,plotly,lime,sensitivity,shap,linear,treeinterpreter,aplr,dash,skoperules,excel,testing]"
556+
python -m pip install pytest pytest-xdist pytest-cov
553557
New-Item -Path "tmp/zqmr/t" -ItemType Directory -Force
554558
tar -xzvf "bld/sdist/$install_file.tar.gz" -C "tmp/zqmr/t" "$install_file/tests"
555559
cd "tmp/zqmr/t"

0 commit comments

Comments
 (0)