2022-11-10 22:51:26 +00:00
|
|
|
version: 2.1
|
|
|
|
jobs:
|
2022-11-30 22:11:17 +00:00
|
|
|
run-tests-36:
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.6
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: "Install test deps"
|
2024-02-11 13:52:06 +00:00
|
|
|
command: "pip install .[test_old,webpush,blurhash]"
|
2022-11-30 22:11:17 +00:00
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
|
|
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
|
|
|
- store_test_results:
|
|
|
|
path: tests
|
2022-11-13 09:22:25 +00:00
|
|
|
run-tests-37:
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.7
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: "Install test deps"
|
2024-02-11 13:52:06 +00:00
|
|
|
command: "pip install .[test_old,webpush,blurhash]"
|
2022-11-13 09:22:25 +00:00
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
|
|
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
|
|
|
- store_test_results:
|
|
|
|
path: tests
|
2024-02-11 11:11:03 +00:00
|
|
|
run-tests-38:
|
2022-11-10 22:51:26 +00:00
|
|
|
docker:
|
2022-11-10 23:10:51 +00:00
|
|
|
- image: cimg/python:3.8
|
2022-11-10 22:51:26 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
2022-11-10 23:02:08 +00:00
|
|
|
name: "Install test deps"
|
2024-02-11 13:52:06 +00:00
|
|
|
command: "pip install .[test_old,webpush,blurhash]"
|
2022-11-10 23:02:08 +00:00
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
2022-11-10 23:30:10 +00:00
|
|
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
2022-11-10 23:21:34 +00:00
|
|
|
- store_test_results:
|
2022-11-10 23:44:57 +00:00
|
|
|
path: tests
|
2022-11-13 09:22:25 +00:00
|
|
|
run-tests-39:
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.9
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: "Install test deps"
|
2023-04-25 12:18:36 +00:00
|
|
|
command: "pip install .[test,webpush,blurhash]"
|
2022-11-13 09:22:25 +00:00
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
|
|
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
|
|
|
- store_test_results:
|
|
|
|
path: tests
|
|
|
|
run-tests-310:
|
|
|
|
docker:
|
|
|
|
- image: cimg/python:3.10
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run:
|
|
|
|
name: "Install test deps"
|
2023-04-25 12:18:36 +00:00
|
|
|
command: "pip install .[test,webpush,blurhash]"
|
2022-11-13 09:22:25 +00:00
|
|
|
- run:
|
|
|
|
name: "Run tests"
|
|
|
|
command: "python setup.py pytest --addopts '--junitxml=tests/result.xml'"
|
|
|
|
- store_test_results:
|
2024-02-11 11:11:03 +00:00
|
|
|
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"
|
2022-11-10 22:51:26 +00:00
|
|
|
workflows:
|
2022-11-10 23:02:08 +00:00
|
|
|
run-tests-workflow:
|
2022-11-10 22:51:26 +00:00
|
|
|
jobs:
|
2022-11-30 22:18:12 +00:00
|
|
|
#- run-tests-36 # 3.6 commented out - SHOULD still work, if you can build cryptography, or don't use it
|
2022-11-13 09:22:25 +00:00
|
|
|
- run-tests-37
|
2024-02-11 11:11:03 +00:00
|
|
|
- run-tests-38
|
2022-11-13 09:22:25 +00:00
|
|
|
- run-tests-39
|
|
|
|
- run-tests-310
|
2024-02-11 11:11:03 +00:00
|
|
|
- run-tests-311
|
|
|
|
- run-tests-312-cov
|