Rename skip_circleci to skip_ci

CircleCI is gone, so the skip and its flag (CIRCLECI → IS_CI) are named for
CI in general, and the flag reads only GITHUB_ACTIONS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Roland 2026-10-08 17:24:03 -06:00
parent bcbc42632d
commit e3eea2d29c
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
10 changed files with 32 additions and 32 deletions

View file

@ -6,7 +6,7 @@ import pytest
from modules.archive import lib, Archive
from wrolpi.common import get_relative_to_media_directory
from wrolpi.test.common import skip_circleci, skip_macos
from wrolpi.test.common import skip_ci, skip_macos
async def check_results(async_client, data, ids):
@ -194,7 +194,7 @@ async def test_archives_search_no_query(test_session, archive_factory, async_cli
@skip_macos
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_archive_upload(test_session, async_client, singlefile_contents_factory, make_multipart_form,
await_switches, events_fixture):

View file

@ -21,7 +21,7 @@ from wrolpi.collections import Collection
from wrolpi.common import get_wrolpi_config
from wrolpi.db import get_db_session
from wrolpi.files.models import FileGroup
from wrolpi.test.common import skip_circleci
from wrolpi.test.common import skip_ci
def make_fake_archive_result(readability=True, screenshot=True, title=True):
@ -289,7 +289,7 @@ def test_get_domains(test_session, archive_factory):
assert [i['domain'] for i in get_domains()] == []
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_new_archive(test_session, test_directory, fake_now, async_client):
singlefile, readability, screenshot = make_fake_archive_result()
@ -363,7 +363,7 @@ async def test_get_title_from_html(test_directory, test_session, fake_now, async
assert archive.file_group.title is None
@skip_circleci
@skip_ci
def test_get_new_archive_files_length(test_directory, fake_now):
"""Archive titles are truncated to fit file system BYTE limit (200 bytes - see MAXIMUM_FILE_BYTES)."""
from wrolpi.common import MAXIMUM_FILE_BYTES
@ -378,7 +378,7 @@ def test_get_new_archive_files_length(test_directory, fake_now):
assert len(str(archive_files.screenshot.name).encode('utf-8')) <= MAXIMUM_FILE_BYTES
@skip_circleci
@skip_ci
def test_get_new_archive_files(test_directory, fake_now):
"""Archive files have a specific format, so they are sorted by datetime, and are near each other."""
fake_now(datetime(2001, 1, 1))
@ -399,7 +399,7 @@ def test_get_new_archive_files(test_directory, fake_now):
assert str(archive_files.screenshot).endswith('archive/example.com/2001-01-01-00-00-00_Title.png')
@skip_circleci
@skip_ci
def test_get_new_archive_files_with_destination(test_directory, fake_now):
"""Archive files can be created in a custom destination directory instead of the default."""
fake_now(datetime(2001, 1, 1))
@ -420,7 +420,7 @@ def test_get_new_archive_files_with_destination(test_directory, fake_now):
assert str(archive_files.screenshot).endswith('archive/News/custom-domain.com/2001-01-01-00-00-00_Title.png')
@skip_circleci
@skip_ci
def test_get_new_archive_files_with_subdirectory_format(test_directory, fake_now):
"""Archive files use subdirectories when the config format contains subdirectories."""
from modules.archive.lib import get_archive_downloader_config
@ -452,7 +452,7 @@ def test_get_new_archive_files_with_subdirectory_format(test_directory, fake_now
config._config['file_name_format'] = original_format
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_title_in_filename(async_client, test_session, fake_now, test_directory, image_bytes_factory):
"""
@ -1147,7 +1147,7 @@ def test_link_domain_and_downloads(test_session, test_download_manager):
assert download4.collection_id is None # no frequency = no link
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_archive_download_uses_domain_collection_directory(async_client, test_session, test_directory, fake_now,
monkeypatch):
@ -1209,7 +1209,7 @@ async def test_archive_download_uses_domain_collection_directory(async_client, t
f"Archive should be in domain collection directory {custom_dir}, but was in {archive.singlefile_path.parent}"
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_archive_download_explicit_destination_overrides_domain_collection(
async_client, test_session, test_directory, fake_now, monkeypatch):

View file

@ -16,7 +16,7 @@ from modules.videos.models import Channel, Video
from wrolpi.conftest import test_directory, await_switches
from wrolpi.downloader import Download, DownloadResult, get_download_manager_config
from wrolpi.errors import InvalidDownload, UnrecoverableDownloadError
from wrolpi.test.common import skip_circleci
from wrolpi.test.common import skip_ci
from wrolpi.vars import PROJECT_DIR
example_video_json = {
@ -131,7 +131,7 @@ async def test_download_video_tags(test_session, video_download_manager, video_f
assert [i.tag.name for i in video.file_group.tag_files] == [tag1.name, tag2.name]
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_download_channel(test_session, test_directory, simple_channel, video_download_manager, video_file,
mock_video_extract_info, mock_video_prepare_filename, await_switches,

View file

@ -11,7 +11,7 @@ from wrolpi import tags, flags
from wrolpi.common import DownloadFileInfo, get_wrolpi_config
from wrolpi.downloader import Download, import_downloads_config, get_download_manager_config
from wrolpi.files.models import FileGroup
from wrolpi.test.common import skip_circleci
from wrolpi.test.common import skip_ci
@pytest.mark.asyncio
@ -181,7 +181,7 @@ def test_zim_all_entries(test_session, test_zim):
assert len(entries) == 12
@skip_circleci
@skip_ci
@pytest.mark.asyncio
async def test_zim_download(test_session, kiwix_download_zim, test_directory, test_zim_bytes, flags_lock,
await_switches):