Adjust Python versions

This commit is contained in:
tcely 2025-05-14 10:09:09 -04:00 committed by GitHub
parent 25af3e3407
commit aa27e1c22b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Python ${{ matrix.python-version }} - name: Install Python ${{ matrix.python-version }}
@ -102,7 +102,7 @@ jobs:
cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/background_task/ patches/background_task/* cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/background_task/ patches/background_task/*
cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/yt_dlp/ patches/yt_dlp/* cp -v -a -t "${Python3_ROOT_DIR}"/lib/python3.*/site-packages/yt_dlp/ patches/yt_dlp/*
- name: Run Django tests - name: Run Django tests
run: cd tubesync && python3 manage.py test --verbosity=2 run: cd tubesync && python3 -W error manage.py test --verbosity=2
containerise: containerise:
if: ${{ !cancelled() && 'success' == needs.info.result }} if: ${{ !cancelled() && 'success' == needs.info.result }}