-
Notifications
You must be signed in to change notification settings - Fork 5
/
azure-pipelines.yml
44 lines (40 loc) · 1.35 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
# File: azure-pipelines.yml
# Date: 4-Jul-2019 jdw Created pipeline
# 8-Jul-2019 jdw add macos test/publish
# 8-Jul-2019 jdw templatize
# 9-Jul-2019 jdw add publish jobs
# 16-Oct-2024 dwp update to python 3.10
#
# Only running py310 tasks with mysql and mongodb ----
#
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
trigger:
- master
- db-*
pr:
- master
schedules:
- cron: "0 12 * * 0"
displayName: Weekly Sunday build
branches:
include:
- master
always: true
jobs:
- template: azure-template-tox-job.yml
parameters: {tox: 'format_pep8', python: '3.10', os: 'linux', fixtures: 'mysql,mongodb'}
- template: azure-template-tox-job.yml
parameters: {tox: 'lint_pylint', python: '3.10', os: 'linux', fixtures: 'mysql,mongodb'}
#- template: azure-template-tox-job.yml
# parameters: {tox: 'test_coverage', python: '3.10', os: 'linux', fixtures: 'mysql,mongodb'}
#
- template: azure-template-tox-job.yml
parameters: {tox: 'py310', python: '3.10', os: 'linux', fixtures: 'mysql,mongodb'}
- template: azure-template-publish-job.yml
parameters: {tox: 'py310', python: '3.10', os: 'linux'}
#
# - template: azure-template-tox-job.yml
# parameters: {tox: 'py310', python: '3.10', os: 'macos'}
# #
# - template: azure-template-publish-job.yml
# parameters: {tox: 'py310', python: '3.10', os: 'macos'}