mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Stabilize install-dependent CI tests
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Release State / release-state (push) Waiting to run
Parallel Tests / Discover test files (push) Waiting to run
Parallel Tests / ${{ matrix.test.name }} (push) Blocked by required conditions
Parallel Tests / ${{ matrix.plugin.name }} (push) Blocked by required conditions
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Build Debian package / build (amd64) (push) Has been cancelled
Build Debian package / build (arm64) (push) Has been cancelled
Build Debian package / test (amd64, ubuntu-24.04) (push) Has been cancelled
Build Debian package / test (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build Debian package / release (push) Has been cancelled
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Release State / release-state (push) Waiting to run
Parallel Tests / Discover test files (push) Waiting to run
Parallel Tests / ${{ matrix.test.name }} (push) Blocked by required conditions
Parallel Tests / ${{ matrix.plugin.name }} (push) Blocked by required conditions
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Build Debian package / build (amd64) (push) Has been cancelled
Build Debian package / build (arm64) (push) Has been cancelled
Build Debian package / test (amd64, ubuntu-24.04) (push) Has been cancelled
Build Debian package / test (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Build Debian package / release (push) Has been cancelled
This commit is contained in:
parent
c0a87de0a0
commit
943fef37c3
@ -449,6 +449,9 @@ def real_archive_with_example(tmp_path_factory, request):
|
||||
"USE_COLOR": "False",
|
||||
"RESPONSES_TIMEOUT": "30",
|
||||
}
|
||||
system_browser = _find_system_browser()
|
||||
if system_browser:
|
||||
add_env["CHROME_BINARY"] = str(system_browser)
|
||||
stdout, stderr, returncode = run_archivebox_cmd_cwd(
|
||||
["add", "--depth=0", "--plugins=responses", "https://example.com"],
|
||||
cwd=tmp_path,
|
||||
|
||||
@ -160,10 +160,10 @@ def test_install_updates_binary_table(tmp_path, process):
|
||||
)
|
||||
|
||||
result = subprocess.run(
|
||||
["archivebox", "install"],
|
||||
["archivebox", "install", "pip"],
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=420,
|
||||
timeout=120,
|
||||
env=env,
|
||||
)
|
||||
|
||||
@ -182,8 +182,12 @@ def test_install_updates_binary_table(tmp_path, process):
|
||||
sealed_crawls = c.execute(
|
||||
"SELECT COUNT(*) FROM crawls_crawl WHERE status='sealed'",
|
||||
).fetchone()[0]
|
||||
installed_python = c.execute(
|
||||
"SELECT COUNT(*) FROM machine_binary WHERE status='installed' AND name='python'",
|
||||
).fetchone()[0]
|
||||
conn.close()
|
||||
|
||||
assert sealed_crawls == 0
|
||||
assert snapshot_count == 0
|
||||
assert binary_counts.get("installed", 0) > 0
|
||||
assert installed_python == 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user