Files
cibuildwheel/appveyor.yml
T

36 lines
1.1 KiB
YAML
Raw Normal View History

2019-11-23 12:51:11 +01:00
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
APPVEYOR_JOB_NAME: "python38-x64-ubuntu"
2019-11-23 12:51:11 +01:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
APPVEYOR_JOB_NAME: "python38-x64-vs2015"
2023-01-03 21:06:28 +01:00
- APPVEYOR_BUILD_WORKER_IMAGE: macos
APPVEYOR_JOB_NAME: "python38-x64-macos"
2017-08-14 23:19:39 +01:00
stack: python 3.8
2019-11-23 12:51:11 +01:00
build: off
init:
- cmd: set PATH=C:\Python38;C:\Python38\Scripts;%PATH%
- ps: |
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {
2020-10-03 21:40:42 +02:00
$env:PYTEST_ADDOPTS='-k "unit_test or test_0_basic" --suppress-no-test-exit-code'
}
2022-01-08 15:07:22 +01:00
python -m pip install -U pip
2019-11-23 12:51:11 +01:00
install: python -m pip install -e ".[dev]" pytest-custom-exit-code
2019-11-23 12:51:11 +01:00
# the '-u' flag is required so the output is in the correct order.
# See https://github.com/pypa/cibuildwheel/pull/24 for more info.
2019-11-23 12:51:11 +01:00
test_script: python -u ./bin/run_tests.py
branches:
only:
- main
skip_commits:
files:
- docs/*