Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
Set up CI with Azure Pipelines#12617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
21 commits Select commitHold shift + click to select a range
bc43abd Set up CI with Azure Pipelines
azure-pipelines[bot]52cb05b Update azure-pipelines.yml
tacaswella4fd1c2 TST: make sure all figures are closed before testing show
tacaswell7b7d2ba CI: update how dependencies are installed
tacaswellc363e1f CI: start xserver
tacaswell6909ec5 CI: remove all of the GUI installation again
tacaswellc7ec9d1 TST: open temporary file as text (not binary)
tacaswell1d04409 TST: add missing import
tacaswell67932e9 TST: use localfreetype on azure
tacaswell0b6ce91 TST: tweak imports in test script + add check for server up
tacaswell1753f6b TST: move over all flags from travis invocation of pytest
tacaswell11ac939 TST: add debugging prints
tacaswellba46ce4 TST: skip some tests on azure
tacaswellb55fdf9 TST: more debugging prints
tacaswellad0e579 TST: skip tests based on user name?
tacaswellf8376eb CI: print env right before testing
tacaswell729c3bd TST: print out the full environment
tacaswell309fdf0 CI: have I finally found a way to identify we are on azure?!
tacaswell744e7fa CI: Debugging prints to sort out how to make it skip
tacaswell0c07d96 TST: pytest marks work better if you use them a decorators 🐑
tacaswellb100da4 TST: provide reasons for skipping tests
tacaswellFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
53 changes: 53 additions & 0 deletionsazure-pipelines.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # Python package | ||
| # Create and test a Python package on multiple Python versions. | ||
| # Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more: | ||
| # https://docs.microsoft.com/azure/devops/pipelines/languages/python | ||
| jobs: | ||
| - job: 'Test' | ||
| pool: | ||
| vmImage: 'Ubuntu 16.04' | ||
| strategy: | ||
| matrix: | ||
| Python35: | ||
| python.version: '3.5' | ||
| Python36: | ||
| python.version: '3.6' | ||
| Python37: | ||
| python.version: '3.7' | ||
| maxParallel: 4 | ||
| steps: | ||
| - task: UsePythonVersion@0 | ||
| inputs: | ||
| versionSpec: '$(python.version)' | ||
| architecture: 'x64' | ||
| - script: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r requirements/testing/travis_all.txt -r requirements/testing/travis36.txt | ||
| displayName: 'Install dependencies' | ||
| - script: | | ||
| export MPLLOCALFREETYPE=1 | ||
| pip install -ve . | ||
| displayName: "Install self" | ||
| - script: env | ||
| displayName: 'print env' | ||
| - script: | | ||
| env | ||
| pytest --junitxml=junit/test-results.xml -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n 2 | ||
| displayName: 'pytest' | ||
| - task: PublishTestResults@2 | ||
| inputs: | ||
| testResultsFiles: '**/test-results.xml' | ||
| testRunTitle: 'Python $(python.version)' | ||
| condition: succeededOrFailed() |
5 changes: 4 additions & 1 deletionlib/matplotlib/tests/test_backend_bases.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletionlib/matplotlib/tests/test_backend_nbagg.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletionslib/matplotlib/tests/test_backends_interactive.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.