forked from simpeg/simpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
62 lines (54 loc) · 1.23 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
# =============================================
# Configure Azure Pipelines for automated tasks
# =============================================
# Define triggers for runs in CI
# ------------------------------
trigger:
branches:
include:
- "main"
exclude:
- "*no-ci*"
tags:
include:
- "*"
pr:
branches:
include:
- "*"
exclude:
- "*no-ci*"
schedules:
- cron: "0 8 * * *" # trigger cron job every day at 08:00 AM GMT
displayName: "Scheduled nightly job"
branches:
include: ["main"]
always: false # don't run if no changes have been applied since last sucessful run
batch: false # dont' run if last pipeline is still in-progress
# Run stages
# ----------
stages:
- stage: StyleChecks
displayName: "Style Checks"
jobs:
- template: .ci/azure/style.yml
- stage: Testing
dependsOn: StyleChecks
jobs:
- template: .ci/azure/test.yml
- stage: Codecov
dependsOn: Testing
jobs:
- template: .ci/azure/codecov.yml
- stage: Docs
dependsOn:
- StyleChecks
- Testing
jobs:
- template: .ci/azure/docs.yml
- stage: PyPI
dependsOn:
- StyleChecks
- Testing
jobs:
- template: .ci/azure/pypi.yml