File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ def tearDownClass(cls):
6565 print (f"Stopping gzserver (PID={ proc .pid } )" )
6666 proc .terminate ()
6767
68- @pytest . mark . skipif (
69- os .environ .get ("CI" ) == "true" ,
70- reason = "Camera tests are unreliable in CI environments" ,
68+ @unittest . skipIf (
69+ os .environ .get ("CI" ) == "true" or os . environ . get ( "GITHUB_ACTIONS" ) == "true" ,
70+ "Camera tests are unreliable in CI environments" ,
7171 )
7272 def test_camera_topics (self , proc_output ):
7373 """Test that camera topics are publishing msgs."""
@@ -106,9 +106,9 @@ def test_camera_topics(self, proc_output):
106106
107107 print ("\n --- Camera Topics Test Completed Successfully ---" )
108108
109- @pytest . mark . skipif (
110- os .environ .get ("CI" ) == "true" ,
111- reason = "Camera tests are unreliable in CI environments" ,
109+ @unittest . skipIf (
110+ os .environ .get ("CI" ) == "true" or os . environ . get ( "GITHUB_ACTIONS" ) == "true" ,
111+ "Camera tests are unreliable in CI environments" ,
112112 )
113113 def test_camera_images (self , proc_output ):
114114 """Test that camera images are published."""
You can’t perform that action at this time.
0 commit comments