From 4dba308def8bb952ca451e58dc976ae2f300614e Mon Sep 17 00:00:00 2001 From: Kyle Verhoog Date: Fri, 16 Feb 2024 19:43:20 -0500 Subject: [PATCH] Skip containers test in CI Until we can get https://github.com/DataDog/dd-apm-test-agent/pull/174 merged. --- .github/workflows/main.yml | 2 +- tests/test_container.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 686535ce..2080f0ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/tests/test_container.py b/tests/test_container.py index d13495ad..5eaeefe4 100644 --- a/tests/test_container.py +++ b/tests/test_container.py @@ -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: