|
24 | 24 | fail-fast: false |
25 | 25 | matrix: |
26 | 26 | os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] |
27 | | - python-version: ['3.7', '3.8', '3.9'] |
| 27 | + python-version: ['3.7', '3.8', '3.9', '3.10'] |
28 | 28 |
|
29 | 29 | steps: |
30 | 30 | - uses: actions/checkout@v2 |
|
44 | 44 | run: tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto |
45 | 45 |
|
46 | 46 | - name: Upload coverage report for unit tests and doctests. |
47 | | - if: runner.os == 'Linux' && matrix.python-version == '3.8' |
| 47 | + if: runner.os == 'Linux' && matrix.python-version == '3.9' |
48 | 48 | shell: bash -l {0} |
49 | 49 | run: bash <(curl -s https://codecov.io/bash) -F unit -c |
50 | 50 |
|
|
53 | 53 | run: tox -e pytest -- -m integration --cov=./ --cov-report=xml -n auto |
54 | 54 |
|
55 | 55 | - name: Upload coverage reports of integration tests. |
56 | | - if: runner.os == 'Linux' && matrix.python-version == '3.8' |
| 56 | + if: runner.os == 'Linux' && matrix.python-version == '3.9' |
57 | 57 | shell: bash -l {0} |
58 | 58 | run: bash <(curl -s https://codecov.io/bash) -F integration -c |
59 | 59 |
|
|
62 | 62 | run: tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto |
63 | 63 |
|
64 | 64 | - name: Upload coverage reports of end-to-end tests. |
65 | | - if: runner.os == 'Linux' && matrix.python-version == '3.8' |
| 65 | + if: runner.os == 'Linux' && matrix.python-version == '3.9' |
66 | 66 | shell: bash -l {0} |
67 | 67 | run: bash <(curl -s https://codecov.io/bash) -F end_to_end -c |
68 | | - |
69 | | - - name: Validate codecov.yml |
70 | | - if: runner.os == 'Linux' && matrix.python-version == '3.7' |
71 | | - shell: bash -l {0} |
72 | | - run: cat codecov.yml | curl --data-binary @- https://codecov.io/validate |
0 commit comments