diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 29e74cad..5c663578 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,9 +29,11 @@ jobs: - name: Install dependencies (including dev dependencies) run: pipenv install --dev + # See [2] for why we use "python -m pytest" instead of just "pytest" - name: Run Pytest - run: pipenv run pytest . + run: pipenv run python3 -m pytest -# [1] https://github.com/orgs/community/discussions/26366 \ No newline at end of file +# [1] https://github.com/orgs/community/discussions/26366 +# [2] https://docs.pytest.org/en/latest/explanation/pythonpath.html#invoking-pytest-versus-python-m-pytest \ No newline at end of file diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 00000000..e69de29b