ci: fix gitlab Windows with --allow-downgrade
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ windows:
|
|||||||
variables:
|
variables:
|
||||||
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
|
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
|
||||||
before_script:
|
before_script:
|
||||||
- choco install python -y --version 3.12.4
|
- choco install python -y --allow-downgrade --version 3.12.4
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ linux:
|
|||||||
windows:
|
windows:
|
||||||
image: mcr.microsoft.com/windows/servercore:1809
|
image: mcr.microsoft.com/windows/servercore:1809
|
||||||
before_script:
|
before_script:
|
||||||
- choco install python -y --version 3.12.4
|
- choco install python -y --allow-downgrade --version 3.12.4
|
||||||
- choco install git.install -y
|
- choco install git.install -y
|
||||||
- py -m pip install cibuildwheel==3.0.0b4
|
- py -m pip install cibuildwheel==3.0.0b4
|
||||||
script:
|
script:
|
||||||
|
|||||||
Reference in New Issue
Block a user