-
Notifications
You must be signed in to change notification settings - Fork 17
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrate testing on Windows using Azure Pipelines #309
Conversation
Weird, I wonder why the Azure build shows as passing even though one of the sub-builds fails. Update: Hmm, it shows as "Succeeded with issues" if you hover over it or click on it but still shows a green checkmark for some reason. |
Okay, I changed the the config file to not do that. |
There's a single test failing on Windows. And it's failing because |
Okay, I have fixed the test and this PR is ready for review @aloukina @jbiggsets @hlepp. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two minor questions. Looks good to me!
# join all test files seperated by space. pytest runs multiple test files in following format pytest test1.py test2.py test3.py | ||
$testFiles = $testsToRun -Join " " | ||
Write-Host "Test files $testFiles" | ||
# write these files into variable so that we can run them using pytest in subsequent task. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way we can add a check to make sure all new test_* files are added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't really think of any obvious way to do that right now.
…ingService/add-azure-pipelines Integrate testing on Windows using Azure Pipelines
Addresses #308.
azure-pipelines.yml
file to configure the build system on Azure.DistributeTests.ps1
powershell script to divide up tasks on 5 parallel agents just like Travis CI.