Skip to content

Commit

Permalink
Try reproducing django-tenants#829 with version 3.4.5 & Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Apr 20, 2023
1 parent 7d7be04 commit c6ab367
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: true
matrix:
# always use latest Python b/c the point here is to test PostgreSQL compatibility
python-version: ["3.11"]
python-version: ["3.10"]
postgres-version: [11.1-alpine, 11-bullseye, 12, 13, 14, 15]

steps:
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install psycopg2 coverage
python setup.py develop
pip install django-tenants==3.4.5
- name: Create database
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
run: |
pip install psycopg2 coverage
pip install Django${{ matrix.django-version }}
python setup.py develop
pip install django-tenants==3.4.5
- name: Create database
run: |
Expand Down
2 changes: 2 additions & 0 deletions django_tenants/tests/test_tenants.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def test_switching_search_path(self):
tenant1 = get_tenant_model()(schema_name='tenant`1')
tenant1.save()

print("***** DEBUG: test_switching_search_path. tenant1=", tenant1.schema_name)

domain1 = get_tenant_domain_model()(tenant=tenant1, domain='something.test.com')
domain1.save()

Expand Down

0 comments on commit c6ab367

Please sign in to comment.