Skip to content

Commit

Permalink
disable test in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbetts committed Oct 14, 2023
1 parent 7f447c3 commit 0c58b14
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_nuropb_api.py
Original file line number Diff line number Diff line change
@@ -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):

Expand Down

0 comments on commit 0c58b14

Please sign in to comment.