cleanup and add windows to .gitlab-ci.yml
This commit is contained in:
@@ -17,3 +17,16 @@ linux:
|
|||||||
- curl -sSL https://get.docker.com/ | sh
|
- curl -sSL https://get.docker.com/ | sh
|
||||||
- python -m pip install -e ".[dev]" pytest-custom-exit-code
|
- python -m pip install -e ".[dev]" pytest-custom-exit-code
|
||||||
- python ./bin/run_tests.py
|
- python ./bin/run_tests.py
|
||||||
|
|
||||||
|
windows:
|
||||||
|
image: mcr.microsoft.com/windows/servercore:1809
|
||||||
|
variables:
|
||||||
|
PYTEST_ADDOPTS: -k "unit_test or test_0_basic" --suppress-no-test-exit-code
|
||||||
|
before_script:
|
||||||
|
- choco install python -y --version 3.8.6
|
||||||
|
script:
|
||||||
|
- py -m cibuildwheel --output-dir wheelhouse --platform windows
|
||||||
|
- py -m pip install -e ".[dev]" pytest-custom-exit-code
|
||||||
|
- py bin\run_tests.py
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ linux:
|
|||||||
- wheelhouse/
|
- wheelhouse/
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
|
image: mcr.microsoft.com/windows/servercore:1809
|
||||||
before_script:
|
before_script:
|
||||||
- choco install python -y --version 3.8.6
|
- choco install python -y --version 3.8.6
|
||||||
- choco install git.install -y
|
- choco install git.install -y
|
||||||
@@ -28,6 +29,5 @@ windows:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- wheelhouse/
|
- wheelhouse/
|
||||||
image: mcr.microsoft.com/windows/servercore:1809
|
|
||||||
tags:
|
tags:
|
||||||
- windows
|
- windows
|
||||||
|
|||||||
Reference in New Issue
Block a user