Added pip install step for pytest in Test stage to resolve missing module error

This commit is contained in:
Varun2240
2025-04-05 02:42:19 +00:00
parent ec51a29d93
commit bec82a47ab

3
Jenkinsfile vendored
View File

@@ -20,6 +20,9 @@ pipeline {
bat 'echo Checking sources directory:'
bat 'dir sources'
// Install pytest
bat 'pip install pytest'
// Run pytest and generate JUnit-style test report
bat 'python -m pytest --junit-xml=test-reports/results.xml sources/test_calc.py'