Skip to content

Commit

Permalink
Skip containers test in CI (#175)
Browse files Browse the repository at this point in the history
Until we can get #174
merged.
  • Loading branch information
Kyle-Verhoog committed Feb 17, 2024
1 parent 8ab55f5 commit e225b60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: install deps
run: pip install .[testing]
- run: |
riot run -p ${{ matrix.python-version}} test
riot run -p --pass-env ${{ matrix.python-version}} test
4 changes: 4 additions & 0 deletions tests/test_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@


pytestmark = pytest.mark.skipif(os.getenv("SKIP_CONTAINER") is not None, reason="SKIP_CONTAINER set")
pytestmark = pytest.mark.skipif(
platform.system() == "Darwin" and os.getenv("GITHUB_ACTIONS") is not None,
reason="Github actions doesn't support docker",
)


class DockerContainer:
Expand Down

0 comments on commit e225b60

Please sign in to comment.