[py][build] Python CI - add unit test job and windows integration tests to GH runners by cgoldberg · Pull Request #16362 · SeleniumHQ/selenium
User description
💥 What does this PR do?
This PR updates Python's CI workflow:
- adds a new
unit-testsjob to run unit tests on Ubuntu/MacOS on the GH runners - adds Chrome/Windows, Edge/Windows to the integration test browser/os matrix on the GH runners
- adds additional test target for Mac/Safari on the GH runners
This also fixes an assertion in a unit test that was broken on Windows.
🔧 Implementation Notes
We were not currently running any Python tests on Windows in CI. We have some Windows platform-specific code in the Python bindings and not all maintainers have a Windows system to test against.
💡 Additional Considerations
This might make the CI runs slightly longer.
🔄 Types of changes
- Build/Test/CI
PR Type
Tests
Description
-
Add unit test job for Windows and Ubuntu platforms
-
Add Chrome/Windows integration test configuration
-
Expand CI coverage for Windows platform testing
Diagram Walkthrough
flowchart LR
A["CI Workflow"] --> B["Unit Tests Job"]
B --> C["Windows Testing"]
B --> D["Ubuntu Testing"]
A --> E["Integration Tests"]
E --> F["Chrome/Windows Added"]
File Walkthrough
| Relevant files | |||
|---|---|---|---|
| Tests |
|