소스 검색

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

Matt Westcott 3 년 전
부모
커밋
1c0d4d92a8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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