Skip to content

Commit

Permalink
Try PYTHONPATH to run tests in CI, refs #157
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Dec 16, 2023
1 parent be6fb10 commit adffcd0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
run: |
export POSTGRESQL_PATH="/usr/lib/postgresql/$POSTGRESQL_VERSION/bin/postgres"
export INITDB_PATH="/usr/lib/postgresql/$POSTGRESQL_VERSION/bin/initdb"
export PYTHONPATH="pytest_plugins:test_project"
pytest
- name: Check formatting
run: black . --check
Expand Down
Empty file added pytest_plugins/__init__.py
Empty file.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os

import pytest
from dj_database_url import parse
from django.conf import settings
Expand Down

0 comments on commit adffcd0

Please sign in to comment.