forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Azdo CI to run python tests #4034
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
Labels
Milestone
Comments
This was referenced Mar 15, 2019
d3r3kk
added a commit
to d3r3kk/vscode-python
that referenced
this issue
Mar 19, 2019
For microsoft#4806, microsoft#4034, others... - Venv tests are now in the combined step-template for all CI - PR validation build definition uses the step template - CI validation build definition uses the step template - Runs all tests against all OS, Py 3.7 & 3.6 only - Some flaky tests skipped (tracked in GH) - Problems with test runs not finishing in Windows remains ---
9 tasks
d3r3kk
added a commit
to d3r3kk/vscode-python
that referenced
this issue
Mar 19, 2019
For microsoft#4806, microsoft#4034, others... - Venv tests are now in the combined step-template for all CI - PR validation build definition uses the step template - CI validation build definition uses the step template - Runs all tests against all OS, Py 3.7 & 3.6 only - Some flaky tests skipped (tracked in GH) - Problems with test runs not finishing in Windows remains ---
d3r3kk
added a commit
that referenced
this issue
Mar 19, 2019
* Enable venv tests, split out step-template, update CI For #4806, #4034, others... - Venv tests are now in the combined step-template for all CI - PR validation build definition uses the step template - CI validation build definition uses the step template - Runs all tests against all OS, Py 3.7 & 3.6 only - Some flaky tests skipped (tracked in GH) - Problems with test runs not finishing in Windows remains
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add a job that will run
pytest
(I think this on),unittest
, or whichever test framework we decide to use, on the Python scripts that we manage and that ship with our extension.Test for completion
junit-xml
style output that can be uploaded to AzDO (so that the results show up in the Test tab of each build).Tips
We should be able to simply add a new phase to the
build/ci/templates/test-phase-job.yaml
file that does the python tests.Using pytest might cause issues with running on Python 2 phases. We might have to consider using
unittest
here, or perhaps an older version ofpytest
.The text was updated successfully, but these errors were encountered: