DCD-1313: Parallelise branch testing, and also check for pipelines config freshness.

This commit is contained in:
Steve Smith 2021-07-15 10:04:10 +10:00
parent 8e234506b4
commit 41b7e85646
2 changed files with 62 additions and 48 deletions

View File

@ -343,6 +343,12 @@ pipelines:
# against latest app version
######################################################################
'**':
- step:
name: Check if pipelines config is up-to-date...
script:
- python3 pipelines-generator.py > bitbucket-piplines.yml.expected && diff bitbucket-pipelines.yml bitbucket-piplines.yml.expected
- parallel:
- step:
name: Run unit tests
image: python:3.7-alpine3.9
@ -358,6 +364,7 @@ pipelines:
- export MAC_PRODUCT_KEY='confluence'
- py.test -v tests/
- py.test -v shared-components/tests/
- step:
name: Run integration tests
services:

View File

@ -76,6 +76,12 @@ pipelines:
# against latest app version
######################################################################
'**':
- step:
name: Check if pipelines config is up-to-date...
script:
- python3 pipelines-generator.py > bitbucket-piplines.yml.expected && diff bitbucket-pipelines.yml bitbucket-piplines.yml.expected
- parallel:
- step:
name: Run unit tests
image: python:3.7-alpine3.9
@ -91,6 +97,7 @@ pipelines:
- export MAC_PRODUCT_KEY='confluence'
- py.test -v tests/
- py.test -v shared-components/tests/
- step:
name: Run integration tests
services: