2019-11-23 12:51:11 +01:00
|
|
|
environment:
|
|
|
|
|
matrix:
|
2024-08-14 21:57:17 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
|
|
|
|
|
APPVEYOR_JOB_NAME: "python312-x64-ubuntu"
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
|
|
|
APPVEYOR_JOB_NAME: "python312-x64-vs2022"
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
|
|
|
|
|
APPVEYOR_JOB_NAME: "python312-x64-macos"
|
2017-08-14 23:19:39 +01:00
|
|
|
|
2024-08-14 21:57:17 +02:00
|
|
|
stack: python 3.12
|
2019-11-23 12:51:11 +01:00
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
|
|
init:
|
2020-04-08 13:18:15 +02:00
|
|
|
- ps: |
|
|
|
|
|
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
|
2021-05-27 10:28:52 +01:00
|
|
|
if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {
|
2024-08-14 21:57:17 +02:00
|
|
|
$env:PYTEST_ADDOPTS = '-k "unit_test or test_0_basic" --suppress-no-test-exit-code'
|
2020-04-08 13:18:15 +02:00
|
|
|
}
|
2019-11-23 12:51:11 +01:00
|
|
|
|
2024-08-14 21:57:17 +02:00
|
|
|
install:
|
|
|
|
|
- python -m pip install -U pip
|
|
|
|
|
- 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.
|
2021-05-24 10:21:03 -04:00
|
|
|
# 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
|
2020-04-07 11:49:10 +01:00
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
2021-05-27 10:28:52 +01:00
|
|
|
- main
|
2020-04-07 11:49:10 +01:00
|
|
|
|
|
|
|
|
skip_commits:
|
|
|
|
|
files:
|
|
|
|
|
- docs/*
|