Fix pipenv failing to import sqlalchemy-json

'sqlalchemy_json' does not import when running pytest through pipenv. Prepending 'python -m' to the pytest command fixes this (although I'm not sure why it even fails to import a global module).

Hope this works in the GitHub Actions workflow.
This commit is contained in:
2021-02-18 23:46:05 -06:00
committed by GitHub
parent 08a34b7182
commit 8a1a2df2c1

View File

@@ -30,4 +30,4 @@ jobs:
pipenv install --dev pipenv install --dev
- name: Run tests - name: Run tests
run: pipenv run pytest run: pipenv run python -m pytest