From 5c7918bf7ab99cf212ac45f755343eb20c29ae68 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Mon, 10 Feb 2025 11:39:44 +0800 Subject: [PATCH] tests: don't run test_container on GitHub Actions --- tests/test_container.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_container.py b/tests/test_container.py index d4c0cbe..3754de0 100644 --- a/tests/test_container.py +++ b/tests/test_container.py @@ -1,9 +1,12 @@ # MIT licensed # Copyright (c) 2020 Chih-Hsuan Yen -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", {