Skip to content

FEAT: MacOS in PR Validation Pipeline #83

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

Merged

Conversation

bewithgaurav
Copy link
Collaborator

@bewithgaurav bewithgaurav commented Jun 18, 2025

Summary

This pull request adds a new job to the pr-validation-pipeline.yml file to enable running Python tests on macOS. The job includes steps for setting up the environment, installing dependencies, building bindings, running tests with coverage, and publishing results. Some Docker-related steps are commented out for now.

Additions to the pipeline:

  • New job for macOS testing: Added a PytestOnMacOS job to the pipeline, which uses the macos-latest image to run Python tests.
  • Python environment setup: Configured the job to use Python 3.13.5 and installed dependencies from requirements.txt.
  • Build and test execution:
    • Built pybind bindings via build.sh.
    • Ran pytest with coverage and published the results.

Commented-out Docker-related steps:

  • Steps for installing and configuring Docker on macOS, including setting up Colima and running an SQL Server container, are included but commented out for now.

Issue Reference

Fixes AB#37749

Checklist

  • Tests Passed (if applicable)
  • Code is formatted
  • Docs Updated (if necessary)

Testing Performed

  • Unit Tests

@bewithgaurav
Copy link
Collaborator Author

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

Copy link
Collaborator Author

@bewithgaurav bewithgaurav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some clarifications on approach to test this as of now.

@sumitmsft sumitmsft merged commit d5ad8eb into bewithgaurav/macos_intel_support Jun 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants