* refactor: pull out dependency_constraint Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * refactor: address feedback Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * ci: better parallel Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
pr:
|
|
paths:
|
|
exclude:
|
|
- docs/*
|
|
- .pre-commit-config.yaml
|
|
|
|
jobs:
|
|
- job: linux_311
|
|
timeoutInMinutes: 120
|
|
pool: {vmImage: 'Ubuntu-22.04'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.11'
|
|
- bash: |
|
|
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
|
|
python -m pip install dependency-groups
|
|
python -m dependency_groups test | xargs python -m pip install -e.
|
|
python ./bin/run_tests.py
|
|
|
|
- job: macos_311
|
|
pool: {vmImage: 'macOS-13'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.11'
|
|
- bash: |
|
|
python -m pip install dependency-groups
|
|
python -m dependency_groups test | xargs python -m pip install -e.
|
|
python ./bin/run_tests.py
|
|
|
|
- job: windows_311
|
|
pool: {vmImage: 'windows-2019'}
|
|
timeoutInMinutes: 180
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.11'
|
|
- bash: |
|
|
python -m pip install dependency-groups
|
|
python -m dependency_groups test | xargs python -m pip install -e.
|
|
python ./bin/run_tests.py
|