Skip to content

Commit

Permalink
tests: don't run test_container on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Feb 10, 2025
1 parent c03bec7 commit 5c7918b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_container.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# MIT licensed
# Copyright (c) 2020 Chih-Hsuan Yen <yan12125 at gmail dot com>

import pytest
import os
import datetime
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]

import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net,
pytest.mark.skipif(os.environ.get('GITHUB_RUN_ID'), reason="400 very often")]

async def test_container(get_version):
assert await get_version("hello-world", {
Expand Down

0 comments on commit 5c7918b

Please sign in to comment.