From ae4dd28ff003eedc5640b48552a145121ac1ecdd Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Tue, 22 Jul 2025 22:44:51 +0100 Subject: [PATCH] Something weird about pytest, the command vs module invocation? --- .github/workflows/pull-request.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index f981d857..e5aadcd3 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -46,11 +46,11 @@ jobs: run: pip install pytest pytest-cov pytest-asyncio pytest-mock testcontainers - name: Unit tests - run: pytest tests/unit + run: python3 -m pytest tests/unit - name: Integration tests (cut the out the long-running tests) - run: pytest tests/integration -m 'not slow' + run: python3 -m pytest tests/integration -m 'not slow' - name: Contract tests - run: pytest tests/contract + run: python3 -m pytest tests/contract