Optimize CI checks

This commit is contained in:
Clinton Hall 2019-11-08 13:27:11 +13:00 committed by GitHub
commit de718e7125
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,12 @@ jobs:
python.version: '3.7' python.version: '3.7'
Python38: Python38:
python.version: '3.8' python.version: '3.8'
maxParallel: 4 maxParallel: 5
steps: steps:
#Install ffmpeg (and any common tools) outside of Python version tasks
- script: sudo apt-get install ffmpeg
displayName: 'Install ffmpeg'
#- script: | #- script: |
# Make sure all packages are pulled from latest # Make sure all packages are pulled from latest
#sudo apt-get update #sudo apt-get update
@ -70,9 +73,6 @@ jobs:
- script: python -m pip install --upgrade pip - script: python -m pip install --upgrade pip
displayName: 'Install dependencies' displayName: 'Install dependencies'
- script: sudo apt-get install ffmpeg
displayName: 'Install ffmpeg'
- script: | - script: |
pip install pytest pip install pytest
pytest tests --doctest-modules --junitxml=junit/test-results.xml pytest tests --doctest-modules --junitxml=junit/test-results.xml