cleanup and add windows to .gitlab-ci.yml

This commit is contained in:
William Barnhart
2022-10-07 10:44:39 -04:00
parent d961fbd89a
commit 768f964056
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -17,3 +17,16 @@ linux:
- curl -sSL https://get.docker.com/ | sh
- python -m pip install -e ".[dev]" pytest-custom-exit-code
- 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
+1 -1
View File
@@ -19,6 +19,7 @@ linux:
- wheelhouse/
windows:
image: mcr.microsoft.com/windows/servercore:1809
before_script:
- choco install python -y --version 3.8.6
- choco install git.install -y
@@ -28,6 +29,5 @@ windows:
artifacts:
paths:
- wheelhouse/
image: mcr.microsoft.com/windows/servercore:1809
tags:
- windows