@@ -13,13 +13,18 @@ jobs:
1313    runs-on : ubuntu-latest 
1414    strategy :
1515      matrix :
16-         python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1" ] 
17-         django-version : ["django==4.2.*", "django==5.0.*", "django==5.1.*", "django==5.2.*" ] 
16+         python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"] 
17+         django-version : ["django==4.2.*", "django==5.0.*", "django==5.1.*"] 
1818        exclude :
19-           - python-version : " 3.12" 
20-             django-version : " django<4.2.8" 
21-           - python-version : " 3.13.0-rc.1" 
22-             django-version : " django<5.2" 
19+           - python-version : " 3.8" 
20+             django-version : " django==5.0.*" 
21+           - python-version : " 3.8" 
22+             django-version : " django==5.1.*" 
23+           - python-version : " 3.9" 
24+             django-version : " django==5.0.*" 
25+           - python-version : " 3.9" 
26+             django-version : " django==5.1.*" 
27+ 
2328    steps :
2429      - uses : actions/checkout@v3 
2530      - name : Set up Python ${{ matrix.python-version }} 
3035        run : | 
3136          python -m pip install --upgrade pip 
3237          pip install -r requirements_test.txt 
38+           pip install -c requirements_test.txt ${{ matrix.django-version }} 
3339name : Lint with ruff 
3440        run : | 
3541          # stop the build if there are Python syntax errors or undefined names 
3642          make ruff-check 
37- name : Run Tox 
38-         run : tox 
43+ name : MyPy 
44+         run : cd django_mail_viewer && mypy . 
45+       - name : Run Tests 
46+         run : | 
47+           coverage run --source django_mail_viewer runtests.py 
48+           coverage report 
0 commit comments