diff --git a/Jenkinsfile b/Jenkinsfile index 538968e..b344c28 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ echo "Building for Windows" pwsh "python .\\build.py" echo "Testing for Windows" - pwsh ".\\env.ps1; dobuild; dotest_ci" + pwsh ".\\env.ps1; dobuild; dotest_ci; domut_ci" pwsh "mv NewLang.pyz NewLang.windows.pyz" archiveArtifacts artifacts: 'NewLang.windows.pyz', fingerprint: true cleanWs() diff --git a/env.ps1 b/env.ps1 index 255f57e..9ed5515 100644 --- a/env.ps1 +++ b/env.ps1 @@ -36,5 +36,7 @@ Function Global:dotest_ci { pytest -q -n auto --hypothesis-profile=ci } Function Global:dotest_long { pytest -q -n 4 --hypothesis-profile=long } Function Global:docheck { dotidy && dolint && dotest } -Function Global:domut { mutmut run --paths-to-mutate "src/syntax.py src/tokenize.py src/parse.py" } +Function _domut { mutmut run --paths-to-mutate "src/syntax.py src/tokenize.py src/parse.py" $args } +Function Global:domut { _domut } +Function Global:domut_ci { _domut --no-progress | Select-String -Not "Running\.\.\.$" } Function Global:dobuild { python build.py }