mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 06:46:15 +00:00
7f93237d0f
For details, see: * https://discuss.python.org/t/implementing-pep-609-pypa-governance/4745
150 lines
3.0 KiB
YAML
150 lines
3.0 KiB
YAML
name: CI
|
|
trigger:
|
|
batch: true
|
|
branches:
|
|
include:
|
|
- master
|
|
paths:
|
|
exclude:
|
|
- 'docs/*'
|
|
- 'news/*'
|
|
- 'peeps/*'
|
|
- 'examples/*'
|
|
- 'pytest.ini'
|
|
- 'README.md'
|
|
- 'pipenv/patched/patched.txt'
|
|
- 'pipenv/vendor/vendor_pip.txt'
|
|
- '*/LICENSE.txt'
|
|
- '*/LICENSE'
|
|
- '*.LICENSE'
|
|
- '*/vendor.txt'
|
|
- 'CHANGELOG.rst'
|
|
- 'CONTRIBUTING.md'
|
|
- '*.md'
|
|
- '.gitignore'
|
|
- '.gitattributes'
|
|
- '.editorconfig'
|
|
|
|
pr:
|
|
paths:
|
|
exclude:
|
|
- 'docs/*'
|
|
- 'news/*'
|
|
- 'peeps/*'
|
|
- 'examples/*'
|
|
- 'pytest.ini'
|
|
- 'README.md'
|
|
- 'pipenv/patched/patched.txt'
|
|
- 'pipenv/vendor/vendor_pip.txt'
|
|
- '*/LICENSE.txt'
|
|
- '*/LICENSE'
|
|
- '*.LICENSE'
|
|
- '*/vendor.txt'
|
|
- 'CHANGELOG.rst'
|
|
- 'CONTRIBUTING.md'
|
|
- '*.md'
|
|
- '.gitignore'
|
|
- '.gitattributes'
|
|
- '.editorconfig'
|
|
|
|
variables:
|
|
- group: CI
|
|
|
|
jobs:
|
|
- job: TestVendoring
|
|
displayName: Vendoring
|
|
pool:
|
|
vmImage: 'Ubuntu-latest'
|
|
variables:
|
|
python.version: '3.7'
|
|
python.architecture: x64
|
|
steps:
|
|
- template: .azure-pipelines/steps/run-vendor-scripts.yml
|
|
parameters:
|
|
vmImage: 'Ubuntu-latest'
|
|
|
|
- job: TestPackaging
|
|
displayName: Packaging
|
|
pool:
|
|
vmImage: 'Ubuntu-latest'
|
|
variables:
|
|
python.version: '3.7'
|
|
python.architecture: x64
|
|
steps:
|
|
- template: .azure-pipelines/steps/build-package.yml
|
|
parameters:
|
|
vmImage: 'Ubuntu-latest'
|
|
|
|
- job: TestLinux
|
|
displayName: Linux /
|
|
pool:
|
|
vmImage: 'Ubuntu-latest'
|
|
strategy:
|
|
matrix:
|
|
"2.7":
|
|
python.version: '2.7'
|
|
python.architecture: x64
|
|
"3.6":
|
|
python.version: '3.6'
|
|
python.architecture: x64
|
|
"3.7":
|
|
python.version: '3.7'
|
|
python.architecture: x64
|
|
"3.8":
|
|
python.version: '3.8'
|
|
python.architecture: x64
|
|
maxParallel: 8
|
|
steps:
|
|
- template: .azure-pipelines/steps/run-tests.yml
|
|
parameters:
|
|
vmImage: 'Ubuntu-latest'
|
|
|
|
- job: TestWindows
|
|
displayName: Windows /
|
|
timeoutInMinutes: 0
|
|
pool:
|
|
vmImage: windows-latest
|
|
strategy:
|
|
matrix:
|
|
"2.7":
|
|
python.version: '2.7'
|
|
python.architecture: x64
|
|
"3.6":
|
|
python.version: '3.6'
|
|
python.architecture: x64
|
|
"3.7":
|
|
python.version: '3.7'
|
|
python.architecture: x64
|
|
"3.8":
|
|
python.version: '3.8'
|
|
python.architecture: x64
|
|
maxParallel: 8
|
|
steps:
|
|
- template: .azure-pipelines/steps/run-tests.yml
|
|
parameters:
|
|
vmImage: windows-latest
|
|
|
|
- job: TestMacOS
|
|
displayName: MacOS /
|
|
pool:
|
|
vmImage: macOS-latest
|
|
strategy:
|
|
matrix:
|
|
"2.7":
|
|
python.version: '2.7'
|
|
python.architecture: x64
|
|
"3.6":
|
|
python.version: '3.6'
|
|
python.architecture: x64
|
|
"3.7":
|
|
python.version: '3.7'
|
|
python.architecture: x64
|
|
"3.8":
|
|
python.version: '3.8'
|
|
python.architecture: x64
|
|
maxParallel: 8
|
|
steps:
|
|
- template: .azure-pipelines/steps/run-tests.yml
|
|
parameters:
|
|
vmImage: macOS-latest
|