Skip to content

Commit 68f196d

Browse files
committed
fix github action test
1 parent 1f2a6fc commit 68f196d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ssh/test_ssh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def craete_location(host):
5454

5555

5656

57-
@pytest.mark.skipif(not Shell.ssh_enabled(), reason="SSH is not enabled")
58-
@pytest.mark.skipif(github_action, reason='GitHub Runner uses Azure and Azure does not have an ssh key set up!')
57+
@pytest.mark.skipif(github_action or not Shell.ssh_enabled(),
58+
reason="SSH is not enabled, or, this test is running in GitHub Actions")
5959
@pytest.mark.incremental
6060
class TestSsh:
6161

0 commit comments

Comments
 (0)