Skip to content

Commit ef60c82

Browse files
committed
ci: fix gitlab Windows with --allow-downgrade
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 4aa7d7e commit ef60c82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ windows:
2929
variables:
3030
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
3131
before_script:
32-
- choco install python -y --version 3.12.4
32+
- choco install python -y --allow-downgrade --version 3.12.4
3333
rules:
3434
- if: '$CI_COMMIT_BRANCH == "main"'
3535
variables:

examples/gitlab-minimal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ linux:
2121
windows:
2222
image: mcr.microsoft.com/windows/servercore:1809
2323
before_script:
24-
- choco install python -y --version 3.12.4
24+
- choco install python -y --allow-downgrade --version 3.12.4
2525
- choco install git.install -y
2626
- py -m pip install cibuildwheel==3.0.0b4
2727
script:

0 commit comments

Comments
 (0)