Skip to content

Commit e51c2d6

Browse files
committed
Preinstall on other CI workflows
1 parent 4a195e4 commit e51c2d6

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ jobs:
104104
runs-on: ubuntu-latest
105105
steps:
106106
- uses: actions/checkout@v6
107+
108+
- name: Preinstall hatch and virtualenv
109+
run: |
110+
python --version
111+
python -m pip install hatch "virtualenv<21"
112+
107113
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
108114
- name: Run Linters
109115
run: |
@@ -116,7 +122,14 @@ jobs:
116122
runs-on: ubuntu-latest
117123
steps:
118124
- uses: actions/checkout@v6
125+
126+
- name: Preinstall hatch and virtualenv
127+
run: |
128+
python --version
129+
python -m pip install hatch "virtualenv<21"
130+
119131
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
132+
120133
- uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
121134
with:
122135
token: ${{ secrets.GITHUB_TOKEN }}
@@ -125,7 +138,14 @@ jobs:
125138
runs-on: ubuntu-latest
126139
steps:
127140
- uses: actions/checkout@v6
141+
142+
- name: Preinstall hatch and virtualenv
143+
run: |
144+
python --version
145+
python -m pip install hatch "virtualenv<21"
146+
128147
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
148+
129149
- name: Build API docs
130150
run: |
131151
hatch run docs:api
@@ -148,6 +168,11 @@ jobs:
148168
- name: Checkout
149169
uses: actions/checkout@v6
150170

171+
- name: Preinstall hatch and virtualenv
172+
run: |
173+
python --version
174+
python -m pip install hatch "virtualenv<21"
175+
151176
- name: Base Setup
152177
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
153178

@@ -170,6 +195,12 @@ jobs:
170195
runs-on: ubuntu-latest
171196
steps:
172197
- uses: actions/checkout@v6
198+
199+
- name: Preinstall hatch and virtualenv
200+
run: |
201+
python --version
202+
python -m pip install hatch "virtualenv<21"
203+
173204
- name: Base Setup
174205
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
175206
with:
@@ -191,10 +222,17 @@ jobs:
191222
steps:
192223
- name: Checkout
193224
uses: actions/checkout@v6
225+
226+
- name: Preinstall hatch and virtualenv
227+
run: |
228+
python --version
229+
python -m pip install hatch "virtualenv<21"
230+
194231
- name: Base Setup
195232
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
196233
with:
197234
dependency_type: pre
235+
198236
- name: Run the tests
199237
run: |
200238
hatch run test:nowarn

0 commit comments

Comments
 (0)