From 0c58b1425c0d69ddca9bffe50639b122016f1ba2 Mon Sep 17 00:00:00 2001 From: Robert Betts Date: Sun, 15 Oct 2023 00:04:07 +0100 Subject: [PATCH] disable test in github actions --- tests/test_nuropb_api.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_nuropb_api.py b/tests/test_nuropb_api.py index e43d93a..b9af0e5 100644 --- a/tests/test_nuropb_api.py +++ b/tests/test_nuropb_api.py @@ -1,8 +1,15 @@ +import os + from nuropb.nuropb_api import create_service, create_client, configure_mesh import pytest +IN_GITHUB_ACTIONS = os.getenv("GITHUB_ACTIONS") == "true" +if IN_GITHUB_ACTIONS: + pytest.skip("Skipping model tests when run in Github Actions", allow_module_level=True) + + @pytest.mark.asyncio async def test_client_and_service_api_quick_setup(test_settings, rmq_settings):