Browse Source

Install patched django-modelcluster and django-taggit when testing against django main

Matt Westcott 3 years ago
parent
commit
1c0d4d92a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/test.yml

+ 2 - 0
.github/workflows/test.yml

@@ -78,6 +78,7 @@ jobs:
           - python: '3.10'
             django: 'git+https://github.com/django/django.git@main#egg=Django'
             experimental: true
+            install_extras: 'pip uninstall -y django-modelcluster ; pip uninstall -y django-taggit ; pip install git+https://github.com/gasman/django-modelcluster.git@fix/unsaved-instance-live-queryset#egg=django-modelcluster git+https://github.com/gasman/django-taggit.git@fix/cached-pathinfo#egg=django-taggit'
 
     services:
       postgres:
@@ -98,6 +99,7 @@ jobs:
           pip install "psycopg2>=2.6"
           pip install -e .[testing]
           pip install "${{ matrix.django }}"
+          ${{ matrix.install_extras }}
       - name: Test
         run: |
           ./runtests.py