Change remove Python 3.8 and add Python 3.13 to Gitlab and Github CI tests

This commit is contained in:
Prinz23 2024-12-12 17:34:12 +00:00 committed by JackDandy
parent de13732077
commit 20f41644cf
2 changed files with 18 additions and 18 deletions

View file

@ -15,7 +15,7 @@ jobs:
matrix:
os:
- 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:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v4
@ -34,7 +34,7 @@ jobs:
matrix:
os:
- 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:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v4
@ -55,7 +55,7 @@ jobs:
matrix:
os:
- 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:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v4

View file

@ -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:
image: python:3.9
stage: test
@ -73,3 +58,18 @@ test 3.12:
- if: $CI_COMMIT_BRANCH == "main"
- 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"