|
16 | 16 | PIP_NO_PYTHON_VERSION_WARNING: "1"
|
17 | 17 | # Keep in sync with .pre-commit-config.yaml/default_language_version/python.
|
18 | 18 | PYTHON_LATEST: "3.11"
|
19 |
| - # avoid warnings about shallow checkout, but also make sure pytest accepts us. |
| 19 | + # Avoid warnings about shallow checkout, but also make sure pytest accepts us. |
20 | 20 | SETUPTOOLS_SCM_PRETEND_VERSION: "99.9.9"
|
21 | 21 |
|
22 | 22 | permissions:
|
23 | 23 | contents: read
|
24 | 24 |
|
25 | 25 | jobs:
|
26 | 26 | tests:
|
27 |
| - name: tests on ${{ matrix.python-version }} |
| 27 | + name: Tests on ${{ matrix.python-version }} |
28 | 28 | runs-on: ubuntu-latest
|
29 | 29 |
|
30 | 30 | strategy:
|
|
58 | 58 | - uses: actions/setup-python@v4
|
59 | 59 | with:
|
60 | 60 | python-version: ${{ matrix.python-version }}
|
| 61 | + - run: python -Im pip install --upgrade wheel tox |
61 | 62 |
|
62 | 63 | - name: Determine Python version for tox
|
63 | 64 | run: |
|
|
75 | 76 |
|
76 | 77 | echo TOX_PYTHON=$V >>$GITHUB_ENV
|
77 | 78 |
|
78 |
| - - run: python -Im pip install --upgrade wheel tox |
79 | 79 | - run: python -Im tox run -f ${{ env.TOX_PYTHON }}
|
80 | 80 |
|
81 | 81 | - name: Upload coverage data
|
@@ -150,7 +150,7 @@ jobs:
|
150 | 150 | - run: python -Im tox -e docs,changelog
|
151 | 151 |
|
152 | 152 | mypy:
|
153 |
| - name: mypy on ${{ matrix.python-version }} |
| 153 | + name: Mypy on ${{ matrix.python-version }} |
154 | 154 | runs-on: ubuntu-latest
|
155 | 155 | strategy:
|
156 | 156 | fail-fast: false
|
@@ -219,6 +219,7 @@ jobs:
|
219 | 219 | python-version: ${{env.PYTHON_LATEST}}
|
220 | 220 | - run: python -Im pip install -e .[dev]
|
221 | 221 | - run: python -Ic 'import attr; print(attr.__version__)'
|
| 222 | + - run: python -Ic 'import attrs; print(attrs.__version__)' |
222 | 223 |
|
223 | 224 | # Ensure everything required is passing for branch protection.
|
224 | 225 | required-checks-pass:
|
|
0 commit comments