mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-06 03:14:41 -06:00
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:
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user