@@ -14,11 +14,13 @@ jobs:
14
14
include :
15
15
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
16
16
- { python: "3.11", os: "ubuntu-latest", session: "safety" }
17
+ - { python: "3.11", os: "ubuntu-latest", session: "mypy" }
18
+ - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
19
+ - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
17
20
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
18
21
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
19
22
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
20
23
- { python: "3.11", os: "windows-latest", session: "tests" }
21
- - { python: "3.10", os: "windows-latest", session: "tests" }
22
24
- { python: "3.11", os: "macos-latest", session: "tests" }
23
25
- { python: "3.11", os: "ubuntu-latest", session: "typeguard" }
24
26
- { python: "3.11", os: "ubuntu-latest", session: "xdoctest" }
40
42
41
43
- name : Upgrade pip
42
44
run : |
43
- pip install --constraint=.github/workflows/constraints.txt pip
45
+ pip install --constraint=.github/workflows/constraints.txt pip "pipx==1.4.3"
44
46
pip --version
45
47
46
48
- name : Upgrade pip in virtual environments
@@ -53,11 +55,14 @@ jobs:
53
55
print(f"VIRTUALENV_PIP={pip.__version__}", file=io)
54
56
55
57
- name : Install Poetry
58
+ shell : bash
56
59
run : |
60
+ pipx --version
57
61
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
58
62
poetry --version
59
63
60
64
- name : Install Nox
65
+ shell : bash
61
66
run : |
62
67
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
63
68
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
95
100
if : always() && matrix.session == 'tests'
96
101
uses : " actions/upload-artifact@v4"
97
102
with :
98
- name : coverage-data
103
+ name : coverage-data-${{ matrix.python}}-${{ matrix.os }}
99
104
path : " .coverage.*"
100
105
101
106
- name : Upload documentation
@@ -119,7 +124,7 @@ jobs:
119
124
120
125
- name : Upgrade pip
121
126
run : |
122
- pip install --constraint=.github/workflows/constraints.txt pip
127
+ pip install --constraint=.github/workflows/constraints.txt pip "pipx==1.4.3"
123
128
pip --version
124
129
125
130
- name : Install Poetry
@@ -136,7 +141,8 @@ jobs:
136
141
- name : Download coverage data
137
142
uses : actions/download-artifact@v4
138
143
with :
139
- name : coverage-data
144
+ pattern : coverage-data-*
145
+ merge-multiple : true
140
146
141
147
- name : Combine coverage data and display human readable report
142
148
run : |
@@ -147,4 +153,6 @@ jobs:
147
153
nox --session=coverage -- xml
148
154
149
155
- name : Upload coverage report
150
-
156
+
157
+ with :
158
+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments