Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
Don't run tess which will fail due to network concerns on github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Paige Gulley committed Dec 14, 2023
1 parent 29f9540 commit 90f29f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mcnews/searchapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
import requests
import ciso8601
from mcnews import util
import os
import pytest

VERSION = "v1" # the API access URL is versioned for future compatability and maintenance


IN_GITHUB_CI_WORKFLOW = os.getenv("GITHUB_ACTIONS") == "true"

pytest.mark.skipif(IN_GITHUB_CI_WORKFLOW, reason="requires VPN tunnel to Media Cloud")
class SearchApiClient:

API_BASE_URL = "https://news-search-api.tarbell.mediacloud.org/{}/".format(VERSION)
Expand Down

0 comments on commit 90f29f9

Please sign in to comment.