1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/.azure-pipelines/azure-pipelines.yml

79 lines
1.5 KiB
YAML
Raw Normal View History

2020-12-17 19:13:12 +01:00
trigger:
batch: true
branches:
include:
- main
- stable-*
pr:
autoCancel: true
branches:
include:
- main
- stable-*
schedules:
2021-02-03 13:06:03 +01:00
- cron: 0 8 * * *
2021-04-30 22:13:46 +02:00
displayName: Nightly (main)
2020-12-17 19:13:12 +01:00
always: true
branches:
include:
- main
2021-04-30 22:13:46 +02:00
- cron: 0 10 * * *
displayName: Nightly (active stable branches)
always: true
branches:
include:
- stable-2
- stable-3
2021-04-30 22:13:46 +02:00
- cron: 0 11 * * 0
displayName: Weekly (old stable branches)
always: true
branches:
include:
- stable-1
2020-12-17 19:13:12 +01:00
variables:
- name: checkoutPath
value: ansible_collections/community/general
- name: coverageBranches
value: main
- name: pipelinesCoverage
value: coverage
- name: entryPoint
value: tests/utils/shippable/shippable.sh
- name: fetchDepth
value: 0
resources:
containers:
- container: default
image: quay.io/ansible/azure-pipelines-test-container:1.9.0
2020-12-17 19:13:12 +01:00
pool: Standard
stages:
- stage: Units_devel
displayName: Units devel
dependsOn: []
jobs:
- template: templates/matrix.yml
parameters:
nameFormat: Python {0}
testFormat: devel/units/{0}/1
targets:
- test: 2.6
- test: 2.7
- test: 3.5
- test: 3.6
- test: 3.7
- test: 3.8
- test: 3.9
- test: '3.10'
2020-12-17 19:13:12 +01:00
- stage: Summary
condition: succeededOrFailed()
dependsOn:
- Units_devel
jobs:
- template: templates/coverage.yml