test: add CI (#329)

This adds two CI runs: a quick one that happens for every pull
request and merge to master, and a longer one that happens daily.

This also adds a new installation group to setup.py because the
`easy` group isn't currently installable, and some of the dependencies
specified there need to be present for the tests to run.
This commit is contained in:
Misty De Méo 2025-03-04 09:34:23 -08:00
parent 968cac0e10
commit ab8970ff3e
8 changed files with 106 additions and 7 deletions

View file

@ -260,6 +260,9 @@ blocks:
)
# Some changes to the brozzler ydl interface not represented in this test
# https://github.com/internetarchive/brozzler/issues/330
@pytest.mark.xfail
def test_proxy_down():
"""
Test all fetching scenarios raise `brozzler.ProxyError` when proxy is down.
@ -471,6 +474,9 @@ def test_thread_raise_second_with_block():
assert isinstance(thread_caught_exception, Exception2)
# brozzler.ydl.YoutubeDLSpy is missing
# https://github.com/internetarchive/brozzler/issues/330
@pytest.mark.xfail
def test_needs_browsing():
# only one test case here right now, which exposed a bug