Add isolated advertiser authentication, account hierarchy and project APIs
Docker test deployment / test-build-deploy (push) Successful in 4m48s
Docker test deployment / test-build-deploy (push) Successful in 4m48s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
"""The CI integration phase must never silently skip unavailable databases."""
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.hookimpl(trylast=True)
|
||||
def pytest_sessionfinish(session, exitstatus):
|
||||
if os.getenv("ADCLOUD_REQUIRE_INTEGRATION") != "true":
|
||||
return
|
||||
reporter = session.config.pluginmanager.get_plugin("terminalreporter")
|
||||
if reporter and reporter.stats.get("skipped"):
|
||||
reporter.write_sep("=", "Integration CI forbids skipped tests")
|
||||
session.exitstatus = pytest.ExitCode.TESTS_FAILED
|
||||
Reference in New Issue
Block a user