mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 00:33:37 +00:00
76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
|
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
|
||
|
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.10:
|
||
|
image: python:3.10
|
||
|
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.11:
|
||
|
image: python:3.11
|
||
|
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.12:
|
||
|
image: python:3.12
|
||
|
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"
|
||
|
|