checks: run impure pytest tests in CI pipeline

This commit is contained in:
DavHau
2023-09-19 16:46:38 +02:00
parent 9cff6a39e8
commit 0ee6de86af
3 changed files with 33 additions and 2 deletions

View File

@@ -1,10 +1,16 @@
import os
from pathlib import Path
import pytest
TEST_ROOT = Path(__file__).parent.resolve()
PROJECT_ROOT = TEST_ROOT.parent
CLAN_CORE = PROJECT_ROOT.parent.parent
CLAN_CORE_ = os.environ.get("CLAN_CORE")
if CLAN_CORE_:
CLAN_CORE = Path(CLAN_CORE_)
else:
CLAN_CORE = PROJECT_ROOT.parent.parent
@pytest.fixture(scope="session")