mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-06 18:13:38 +00:00
Change remove Python 3.8 and add Python 3.13 to Gitlab and Github CI tests
This commit is contained in:
parent
de13732077
commit
20f41644cf
2 changed files with 18 additions and 18 deletions
6
.github/workflows/unittest.yml
vendored
6
.github/workflows/unittest.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-latest
|
- windows-latest
|
||||||
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:
|
||||||
- name: 'Set up Python ${{ matrix.python-version }}'
|
- name: 'Set up Python ${{ matrix.python-version }}'
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
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:
|
||||||
- name: 'Set up Python ${{ matrix.python-version }}'
|
- name: 'Set up Python ${{ matrix.python-version }}'
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
@ -55,7 +55,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macos-latest
|
- macos-latest
|
||||||
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:
|
||||||
- name: 'Set up Python ${{ matrix.python-version }}'
|
- name: 'Set up Python ${{ matrix.python-version }}'
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
|
|
|
@ -1,18 +1,3 @@
|
||||||
test 3.8:
|
|
||||||
image: python:3.8
|
|
||||||
stage: test
|
|
||||||
before_script:
|
|
||||||
- pip install responses
|
|
||||||
- pip install -r requirements.txt
|
|
||||||
- pip install coveralls
|
|
||||||
script:
|
|
||||||
- cd ./tests
|
|
||||||
- coverage run --source=.. --omit=../lib/* ./all_tests.py
|
|
||||||
when: manual
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
- if: $CI_COMMIT_BRANCH == "dev"
|
|
||||||
|
|
||||||
test 3.9:
|
test 3.9:
|
||||||
image: python:3.9
|
image: python:3.9
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -73,3 +58,18 @@ test 3.12:
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
- if: $CI_COMMIT_BRANCH == "dev"
|
- if: $CI_COMMIT_BRANCH == "dev"
|
||||||
|
|
||||||
|
test 3.13:
|
||||||
|
image: python:3.13
|
||||||
|
stage: test
|
||||||
|
before_script:
|
||||||
|
- pip install responses
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- pip install coveralls
|
||||||
|
script:
|
||||||
|
- cd ./tests
|
||||||
|
- coverage run --source=.. --omit=../lib/* ./all_tests.py
|
||||||
|
when: manual
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH == "main"
|
||||||
|
- if: $CI_COMMIT_BRANCH == "dev"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue