forked from sunpy/ablog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
89 lines (82 loc) · 1.74 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
schedules:
- cron: "0 0 * * *"
displayName: Daily midnight build
branches:
include:
- main
always: true
resources:
repositories:
- repository: OpenAstronomy
type: github
endpoint: sunpy
name: OpenAstronomy/azure-pipelines-templates
ref: master
trigger:
branches:
include:
- '*'
exclude:
- '*backport*'
tags:
include:
- 'v*'
exclude:
- '*dev*'
- '*pre*'
- '*post*'
pr:
autoCancel: true
stages:
- stage: FirstPhaseTests
displayName: Core Tests
jobs:
- template: run-tox-env.yml@OpenAstronomy
parameters:
submodules: false
coverage: codecov
libraries:
apt:
- pandoc
- graphviz
envs:
- linux: py311-sphinx6
- stage: SecondPhaseTests
displayName: Stage 2 Tests
dependsOn: FirstPhaseTests
jobs:
- template: run-tox-env.yml@OpenAstronomy
parameters:
submodules: false
coverage: codecov
libraries:
brew:
- pandoc
- graphviz
choco:
- pandoc
- graphviz
apt:
- pandoc
- graphviz
envs:
- linux: py310-sphinx5
- macos: py39-sphinx5
- windows: py39-sphinx5
- stage: ThirdPhaseTests
displayName: Stage 3 Tests
dependsOn: SecondPhaseTests
jobs:
- template: run-tox-env.yml@OpenAstronomy
parameters:
submodules: false
coverage: codecov
libraries:
apt:
- pandoc
- graphviz
envs:
- linux: py310-sphinxdev
- linux: py310-docs
- linux: py310-conda