mirror of https://github.com/scrapy/scrapy.git
feat: implement delta-based test selection and CI reporting for PRs
This commit is contained in:
parent
ac8b132605
commit
cd1aef17f6
|
|
@ -124,11 +124,7 @@ def pytest_configure(config):
|
|||
install_reactor_import_hook()
|
||||
|
||||
|
||||
@pytest.hookimpl(tryfirst=True)
|
||||
def pytest_runtest_setup(item):
|
||||
import os
|
||||
os.environ["DELTA_TEST_NAME"] = item.nodeid
|
||||
|
||||
# Skip tests based on reactor markers
|
||||
reactor = item.config.getoption("--reactor")
|
||||
|
||||
|
|
@ -163,4 +159,3 @@ def pytest_runtest_setup(item):
|
|||
|
||||
# Generate localhost certificate files, needed by some tests
|
||||
generate_keys()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue