How to trigger Pytest and Pylint from Teamcity ?
Answered
HI
I am new to Teamcity. I am trying to find a way to trigger Pytest and Pylint from teamcity .
I have already a simple python code and a unit test in teamcity, which is connected to the project in GitHub . I run it in teamcity and it builds successfully. Now I would like to find a way so that Pytest and Pylint also check the code when it is triggered in teamcity.
Please if anyone knows, let me know .
Please sign in to leave a comment.
Hi,
TeamCity does not ship by default with python integration, although there is a plugin to provide some degree of integration: https://github.com/leo-from-spb/teamcity-python
I'm not particularly familiar with pytest or pylint, but they should run just fine. If you would like to see the test results integrated with teamcity's reporting features, we have the ability to import XML reports with compatible formats: https://www.jetbrains.com/help/teamcity/xml-report-processing.html , as well as HTML reports: https://www.jetbrains.com/help/teamcity/including-third-party-reports-in-the-build-results.html
For pylint specifically you might be interested in this discussion: https://github.com/JetBrains/teamcity-messages/issues/171
Thank you Denis for your information .
I try to do those !
also would you know if there is any support for Swift programming in Teamcity ? ( swift testing module integration )