Files
Dan Ryan a6fb4a7945 Update tests
Signed-off-by: Dan Ryan <dan@danryan.co>

Fix windows testing

Signed-off-by: Dan Ryan <dan@danryan.co>

Update runner

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix powershell script

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix git ssl issues

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix test name

Signed-off-by: Dan Ryan <dan@danryan.co>

Update test publication

Signed-off-by: Dan Ryan <dan@danryan.co>

Only run py36 py37 and py27 for testing

Signed-off-by: Dan Ryan <dan@danryan.co>

Enable linux builds

Signed-off-by: Dan Ryan <dan@danryan.co>

triple parallel

Signed-off-by: Dan Ryan <dan@danryan.co>

Update linux tests

Signed-off-by: Dan Ryan <dan@danryan.co>

Make sure home directory exists

Signed-off-by: Dan Ryan <dan@danryan.co>

Use pipenv to run tests

Signed-off-by: Dan Ryan <dan@danryan.co>

add vendoring script to linux build scripts

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vendoring test

Signed-off-by: Dan Ryan <dan@danryan.co>

Lets try it this way

Signed-off-by: Dan Ryan <dan@danryan.co>

Syntax issue

Signed-off-by: Dan Ryan <dan@danryan.co>

Prune vsts-ci folder from manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

Separate manifest step from vendoring

Signed-off-by: Dan Ryan <dan@danryan.co>

Update vsts vendoring script

Signed-off-by: Dan Ryan <dan@danryan.co>

Syntax error..

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vendoring

Signed-off-by: Dan Ryan <dan@danryan.co>

gah wrong version spec!

Signed-off-by: Dan Ryan <dan@danryan.co>

fix vsts

Signed-off-by: Dan Ryan <dan@danryan.co>

test updates

Signed-off-by: Dan Ryan <dan@danryan.co>

VSTS Syntax error...

Signed-off-by: Dan Ryan <dan@danryan.co>

and fix windows runner

Signed-off-by: Dan Ryan <dan@danryan.co>

maybe...

Signed-off-by: Dan Ryan <dan@danryan.co>

does this one work?

Signed-off-by: Dan Ryan <dan@danryan.co>

how about now

Signed-off-by: Dan Ryan <dan@danryan.co>

fix manifest

Signed-off-by: Dan Ryan <dan@danryan.co>

hmm now windows fails?

Signed-off-by: Dan Ryan <dan@danryan.co>

hmmmm...

Signed-off-by: Dan Ryan <dan@danryan.co>

Conditonal testing uses its own special phase

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-28 20:44:37 -04:00

50 lines
1.2 KiB
YAML

parameters:
queue:
phases:
- phase: Test_Primary
displayName: Test Primary
queue:
name: ${{ parameters.queue }}
parallel: 4
matrix:
Python27:
python.version: '2.7'
python.architecture: x64
${{ if eq(parameters.queue, 'Hosted VS2017') }}:
# TODO remove once Hosted VS2017 has Python 3.7
Python37:
python.version: '>= 3.7.0-b2'
python.architecture: x64
${{ if ne(parameters.queue, 'Hosted VS2017' )}}:
Python37:
python.version: '>= 3.7'
python.architecture: x64
steps:
- ${{ if eq(parameters.queue, 'Hosted VS2017') }}:
- template: ./run-tests-windows.yml
- ${{ if ne(parameters.queue, 'Hosted VS2017') }}:
- template: ./run-tests.yml
- phase: Test_Secondary
displayName: Test python3.6
# Run after Test_Primary so we don't devour time and jobs if tests are going to fail
# dependsOn: Test_Primary
queue:
name: ${{ parameters.queue }}
parallel: 4
matrix:
Python36:
python.version: '3.6'
python.architecture: x64
steps:
- ${{ if eq(parameters.queue, 'Hosted VS2017') }}:
- template: ./run-tests-windows.yml
- ${{ if ne(parameters.queue, 'Hosted VS2017') }}:
- template: ./run-tests.yml