Run pytest tests in parallel on CI pipeline
Preconditions (3)
Step 1: Configure the CI pipeline to install dependencies including pytest and pytest-xdist
Step 2: Run pytest with the -n option to enable parallel execution, e.g., pytest -n 4
Step 3: Observe the test execution running tests in parallel
Step 4: Verify that all tests pass successfully
Step 5: Check the CI test report for correct test results
✅ Expected Result: Tests run in parallel on 4 workers, all tests pass, and CI shows a successful test report