kopia lustrzana https://github.com/halcy/Mastodon.py
Update config.yml
update ci config, run on 3.12, try to run coverage on 3.12pull/389/head
rodzic
cd86887d88
commit
dc24df67e6
|
@ -26,7 +26,7 @@ jobs:
|
||||||
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: tests
|
path: tests
|
||||||
run-tests-38-cov:
|
run-tests-38:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/python:3.8
|
- image: cimg/python:3.8
|
||||||
steps:
|
steps:
|
||||||
|
@ -34,17 +34,11 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: "Install test deps"
|
name: "Install test deps"
|
||||||
command: "pip install .[test,webpush,blurhash]"
|
command: "pip install .[test,webpush,blurhash]"
|
||||||
- run:
|
|
||||||
name: "Install codecov"
|
|
||||||
command: "pip install codecov"
|
|
||||||
- run:
|
- run:
|
||||||
name: "Run tests"
|
name: "Run tests"
|
||||||
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: tests
|
path: tests
|
||||||
- run:
|
|
||||||
name: "Notify codecov"
|
|
||||||
command: "codecov"
|
|
||||||
run-tests-39:
|
run-tests-39:
|
||||||
docker:
|
docker:
|
||||||
- image: cimg/python:3.9
|
- image: cimg/python:3.9
|
||||||
|
@ -71,11 +65,45 @@ jobs:
|
||||||
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: tests
|
path: tests
|
||||||
|
run-tests-311:
|
||||||
|
docker:
|
||||||
|
- image: cimg/python:3.11
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: "Install test deps"
|
||||||
|
command: "pip install .[test,webpush,blurhash]"
|
||||||
|
- run:
|
||||||
|
name: "Run tests"
|
||||||
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
||||||
|
- store_test_results:
|
||||||
|
path: tests
|
||||||
|
run-tests-312-cov:
|
||||||
|
docker:
|
||||||
|
- image: cimg/python:3.12
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: "Install test deps"
|
||||||
|
command: "pip install .[test,webpush,blurhash]"
|
||||||
|
- run:
|
||||||
|
name: "Install codecov"
|
||||||
|
command: "pip install codecov"
|
||||||
|
- run:
|
||||||
|
name: "Run tests"
|
||||||
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
||||||
|
- store_test_results:
|
||||||
|
path: tests
|
||||||
|
- run:
|
||||||
|
name: "Notify codecov"
|
||||||
|
command: "codecov"
|
||||||
workflows:
|
workflows:
|
||||||
run-tests-workflow:
|
run-tests-workflow:
|
||||||
jobs:
|
jobs:
|
||||||
#- run-tests-36 # 3.6 commented out - SHOULD still work, if you can build cryptography, or don't use it
|
#- run-tests-36 # 3.6 commented out - SHOULD still work, if you can build cryptography, or don't use it
|
||||||
- run-tests-37
|
- run-tests-37
|
||||||
- run-tests-38-cov
|
- run-tests-38
|
||||||
- run-tests-39
|
- run-tests-39
|
||||||
- run-tests-310
|
- run-tests-310
|
||||||
|
- run-tests-311
|
||||||
|
- run-tests-312-cov
|
||||||
|
|
Ładowanie…
Reference in New Issue