File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ def pytest_runtest_setup(item):
2121 gh_run = int (os .environ .get ("CICD" , 0 ))
2222
2323 if gh_run == 1 :
24- pytest .skip (
24+ pytest .xfail (
2525 reason = "Skipping qualitative test: got env variable CICD == 1. Used only in gh workflows."
2626 )
Original file line number Diff line number Diff line change 77
88
99def test_start_session_watsonx ():
10- m = start_session (backend_name = "watsonx" )
11- response = m .instruct ("testing" )
12- assert isinstance (response , ModelOutputThunk )
13- assert response .value is not None
10+ if os .environ .get ("CICD" ) == 1 :
11+ pytest .skip ("Skipping watsonx tests." )
12+ else :
13+ m = start_session (backend_name = "watsonx" )
14+ response = m .instruct ("testing" )
15+ assert isinstance (response , ModelOutputThunk )
16+ assert response .value is not None
1417
1518
1619def test_start_session_openai_with_kwargs (gh_run ):
You can’t perform that action at this time.
0 commit comments