diff --git a/ci/utils/build.ps1 b/ci/utils/build.ps1 index bda0cb9..cd16315 100644 --- a/ci/utils/build.ps1 +++ b/ci/utils/build.ps1 @@ -32,4 +32,7 @@ $python_versions.Split(" ") | ForEach { } } } -pytest -vvx +If($action -ne "tools") { + # no sdist on Windows + pytest -vvx +} diff --git a/ci/utils/build.sh b/ci/utils/build.sh index fd91838..d44202f 100755 --- a/ci/utils/build.sh +++ b/ci/utils/build.sh @@ -30,6 +30,7 @@ do fi done if [[ $1 != tools ]]; then + # build sdist on Linux python -m build --no-isolation --sdist --outdir dist pytest -vvx fi