workaround for bug: this hits an NSP error if it's not run first
@@ -41,7 +41,11 @@ task installDependencies {
task pytest {
doLast {
exec {
- commandLine 'pipenv', 'run', 'pytest'
+ // workaround for bug: this hits an NSP error if it's not run first
+ commandLine 'pipenv', 'run', 'pytest', 'tests/test_gradient_optimization.py'
+ }
+ exec {
+ commandLine 'pipenv', 'run', 'pytest', '--ignore=tests/test_gradient_optimization.py'
}
}
}
