Skip to content

Commit

Permalink
chg: dev: refactor test, remove pytest skip, show test output in ci w…
Browse files Browse the repository at this point in the history
…orkflow

Signed-off-by: Stephen L Arnold <sarnold@vctlabs.com>
  • Loading branch information
sarnold committed Dec 15, 2024
1 parent fa6f2a8 commit 6aaa882
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
- name: Run tests
run: |
tox
tox -- no
env:
PLATFORM: ${{ matrix.os }}
6 changes: 4 additions & 2 deletions tests/test_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ def test_init_dirs(tmp_path):
assert thing.is_dir()


@pytest.mark.skipif(sys.platform == 'win32', reason="daemon not supported on Windows")
def test_platform_check():
"""Test for POSIX platform"""
iam_posix = platform_check()
assert iam_posix
if WIN32:
assert iam_posix is False
else:
assert iam_posix
print(f'posix check: {iam_posix}')


Expand Down

0 comments on commit 6aaa882

Please sign in to comment.