| 1 | version: 2.1 |
| 2 | |
| 3 | jobs: |
| 4 | quality: &test-template |
| 5 | description: Code style |
| 6 | docker: |
| 7 | - image: python:3.10 |
| 8 | environment: |
| 9 | PIP_PREFER_BINARY: true |
| 10 | PIP_PROGRESS_BAR: "off" |
| 11 | TOXENV: style |
| 12 | steps: |
| 13 | - checkout |
| 14 | - run: python -m pip install tox |
| 15 | - run: tox |
| 16 | |
| 17 | tests310: |
| 18 | <<: *test-template |
| 19 | description: Tests - Python 3.10 |
| 20 | docker: |
| 21 | - image: python:3.10 |
| 22 | environment: |
| 23 | TOXENV: tests310 |
| 24 | |
| 25 | tests311: |
| 26 | <<: *test-template |
| 27 | description: Tests - Python 3.11 |
| 28 | docker: |
| 29 | - image: python:3.11 |
| 30 | environment: |
| 31 | TOXENV: tests311 |
| 32 | |
| 33 | tests312: |
| 34 | <<: *test-template |
| 35 | description: Tests - Python 3.12 |
| 36 | docker: |
| 37 | - image: python:3.12 |
| 38 | environment: |
| 39 | TOXENV: tests312 |
| 40 | |
| 41 | tests313: |
| 42 | <<: *test-template |
| 43 | description: Tests - Python 3.13 |
| 44 | docker: |
| 45 | - image: python:3.13 |
| 46 | environment: |
| 47 | TOXENV: tests313 |
| 48 | |
| 49 | tests313-fast: |
| 50 | <<: *test-template |
| 51 | description: Tests fast - Python 3.13 |
| 52 | docker: |
| 53 | - image: python:3.13 |
| 54 | environment: |
| 55 | TOXENV: tests313-fast |
| 56 | |
| 57 | tests313-online: |
| 58 | <<: *test-template |
| 59 | description: Tests online - Python 3.13 |
| 60 | docker: |
| 61 | - image: python:3.13 |
| 62 | environment: |
| 63 | TOXENV: tests313-online |
| 64 | |
| 65 | tests313-slow: |
| 66 | <<: *test-template |
| 67 | description: Tests slow - Python 3.13 |
| 68 | docker: |
| 69 | - image: python:3.13 |
| 70 | environment: |
| 71 | TOXENV: tests313-slow |
| 72 | |
| 73 | tests313-images: |
| 74 | <<: *test-template |
| 75 | description: Tests images - Python 3.13 |
| 76 | docker: |
| 77 | - image: python:3.13 |
| 78 | environment: |
| 79 | TOXENV: tests313-images |
| 80 | |
| 81 | tests313-coverage: |
| 82 | <<: *test-template |
| 83 | description: Tests coverage - Python 3.13 |
| 84 | docker: |
| 85 | - image: python:3.13 |
| 86 | environment: |
| 87 | TOXENV: tests313-coverage |
| 88 | steps: |
| 89 | - checkout |
| 90 | - run: python -m pip install tox |
| 91 | - run: tox |
| 92 | - run: python -m pip install codecov && codecov |
| 93 | |
| 94 | workflows: |
| 95 | version: 2 |
| 96 | build_and_test: |
| 97 | jobs: |
| 98 | - quality |
| 99 | - tests310: |
| 100 | requires: |
| 101 | - quality |
| 102 | - tests311: |
| 103 | requires: |
| 104 | - quality |
| 105 | - tests312: |
| 106 | requires: |
| 107 | - quality |
| 108 | - tests313: |
| 109 | requires: |
| 110 | - quality |
| 111 | - tests313-fast: |
| 112 | requires: |
| 113 | - quality |
| 114 | - tests313-online: |
| 115 | requires: |
| 116 | - quality |
| 117 | - tests313-slow: |
| 118 | requires: |
| 119 | - quality |
| 120 | - tests313-images: |
| 121 | requires: |
| 122 | - quality |
| 123 | - tests313-coverage: |
| 124 | requires: |
| 125 | - quality |