@@ -15,12 +15,15 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v3
18+
1819 - name : Set up Python 3.10
1920 uses : actions/setup-python@v4
2021 with :
2122 python-version : " 3.10"
23+
2224 - name : Install dependencies
2325 run : pip install tox
26+
2427 - name : Validate formatting
2528 run : tox -e format
2629
@@ -29,21 +32,26 @@ jobs:
2932 strategy :
3033 max-parallel : 4
3134 matrix :
32- python-version : ["3.6 ", "3.7 ", "3.8 ", "3.9", "3.10 "]
35+ python-version : ["3.8 ", "3.9 ", "3.10 ", "3.11 "]
3336 steps :
3437 - uses : actions/checkout@v3
38+
3539 - name : Set up Python ${{ matrix.python-version }}
3640 uses : actions/setup-python@v4
3741 with :
3842 python-version : ${{ matrix.python-version }}
43+
3944 - name : Install dependencies
4045 run : |
4146 python -m pip install --upgrade pip
4247 pip install tox tox-gh-actions
48+
4349 - name : Test with tox
4450 run : tox
51+
4552 - name : Prepare artifacts
4653 run : mkdir .coverage-data && mv .coverage.* .coverage-data/
54+
4755 - uses : actions/upload-artifact@master
4856 with :
4957 name : coverage-data
@@ -58,15 +66,19 @@ jobs:
5866 with :
5967 name : coverage-data
6068 path : .
69+
6170 - name : Set up Python 3.10
6271 uses : actions/setup-python@v4
6372 with :
6473 python-version : " 3.10"
74+
6575 - name : Install dependencies
6676 run : |
6777 python -m pip install --upgrade pip
6878 pip install tox
79+
6980 - name : Prepare Coverage report
7081 run : tox -e coverage-report
82+
7183 - name : Upload to codecov
7284 uses : codecov/codecov-action@v1.0.6
0 commit comments