File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -400,14 +400,16 @@ def prerelease_deps(session):
400400 * session .posargs ,
401401 )
402402
403- session .run (
404- "py.test" ,
405- "--quiet" ,
406- "-W default::PendingDeprecationWarning" ,
407- f"--junitxml=prerelease_system_{ session .python } _sponge_log.xml" ,
408- os .path .join ("tests" , "system" ),
409- * session .posargs ,
410- )
403+ # Skip system tests when running in Github Actions since there are no credentials
404+ if os .environ .get ("GITHUB_ACTIONS" , "false" ) == "true" :
405+ session .run (
406+ "py.test" ,
407+ "--quiet" ,
408+ "-W default::PendingDeprecationWarning" ,
409+ f"--junitxml=prerelease_system_{ session .python } _sponge_log.xml" ,
410+ os .path .join ("tests" , "system" ),
411+ * session .posargs ,
412+ )
411413
412414
413415@nox .session (python = DEFAULT_PYTHON_VERSION )
You can’t perform that action at this time.
0 commit comments