Something weird about pytest, the command vs module invocation?

This commit is contained in:
Cyber MacGeddon 2025-07-22 22:44:51 +01:00
parent 6b2356317d
commit ae4dd28ff0

View file

@ -46,11 +46,11 @@ jobs:
run: pip install pytest pytest-cov pytest-asyncio pytest-mock testcontainers run: pip install pytest pytest-cov pytest-asyncio pytest-mock testcontainers
- name: Unit tests - name: Unit tests
run: pytest tests/unit run: python3 -m pytest tests/unit
- name: Integration tests (cut the out the long-running tests) - 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 - name: Contract tests
run: pytest tests/contract run: python3 -m pytest tests/contract