Skip to content

Commit 8310503

Browse files
committed
ci: try check_nox_pdm
1 parent f7b03cf commit 8310503

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.gitlab-ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,19 @@ image:build:
116116
--cleanup
117117
--destination $DOCKER_IMAGE_PATH:stable
118118
119+
120+
.check_nox_pdm: &check_nox_pdm
121+
before_script:
122+
- nox --version
123+
- pdm --version
124+
# to avoid hishel>=1 (using hishel 0.1.5)
125+
# leading to IO problems on osuosl runners
126+
- uv tool install pdm==2.26.2
127+
- pdm --version
128+
129+
119130
validate_code:
131+
<<: *check_nox_pdm
120132
stage: lint
121133
needs:
122134
- job: "image:build"
@@ -126,6 +138,7 @@ validate_code:
126138

127139

128140
.test_with_nox:
141+
<<: *check_nox_pdm
129142
stage: test
130143
needs:
131144
- job: "image:build"
@@ -164,6 +177,7 @@ report_coverage:
164177

165178

166179
test-release:examples:
180+
<<: *check_nox_pdm
167181
stage: test-release
168182
needs:
169183
- job: "image:build"
@@ -176,6 +190,7 @@ test-release:examples:
176190

177191

178192
pages:
193+
<<: *check_nox_pdm
179194
stage: doc
180195
needs:
181196
- job: "image:build"

0 commit comments

Comments
 (0)