Skip to content

Commit 9efe289

Browse files
committed
skip hammer on Debian
1 parent 9e1270a commit 9efe289

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
run: |
9090
./foremanctl deploy --certificate-source=${{ matrix.certificate_source }} --foreman-initial-admin-password=changeme
9191
- name: Setup hammer
92+
if: contains(matrix.box, 'centos')
9293
run: |
9394
./foremanctl setup-hammer
9495
- name: Run tests

tests/hammer_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
import pytest
2+
3+
14
def test_hammer_ping(server):
5+
if server.system_info.distribution == 'debian':
6+
pytest.xfail('Hammer is not properly set up on Debian yet')
27
hammer = server.run("hammer ping")
38
assert hammer.succeeded
49

510
def test_hammer_organizations_list(server):
11+
if server.system_info.distribution == 'debian':
12+
pytest.xfail('Hammer is not properly set up on Debian yet')
613
hammer = server.run("hammer organization list")
714
assert hammer.succeeded

0 commit comments

Comments
 (0)