Skip to content

CI: add macOS and Python 3.7–3.11 matrix, update actions and pip handling#1

Draft
uddaloksarkar wants to merge 7 commits into
developfrom
codex/fix-ci-error-in-develop-branch
Draft

CI: add macOS and Python 3.7–3.11 matrix, update actions and pip handling#1
uddaloksarkar wants to merge 7 commits into
developfrom
codex/fix-ci-error-in-develop-branch

Conversation

@uddaloksarkar
Copy link
Copy Markdown
Collaborator

Motivation

  • Expand the GitHub Actions CI matrix to run on macOS in addition to Ubuntu and to test multiple Python versions for broader compatibility.
  • Update outdated GitHub Action usages to newer, maintained versions and the OCaml setup action for better compatibility and security.
  • Ensure pip/setuptools upgrades are compatible with older Python (3.7) by applying version constraints when necessary.

Description

  • Added macos-latest to the matrix.os and introduced a matrix.python with 3.73.11 to the CI matrix.
  • Upgraded actions/checkout@v1 to actions/checkout@v4, avsm/setup-ocaml@v1 to ocaml/setup-ocaml@v3, and actions/setup-python@v1 to actions/setup-python@v5.
  • Switched the Python setup to use the matrix value and added a conditional pip/setuptools upgrade that pins compatible versions for Python 3.7.
  • Kept gelpia build and tests scoped to Ubuntu and preserved existing build/test steps (make, make test, and the gelpia-backed test variant).

Testing

  • No automated tests were executed locally as part of this change.
  • The CI workflow will run make to build and make test to run the test suite on each matrix entry and will run the gelpia-backed tests on Ubuntu.
  • The workflow changes are limited to the Actions configuration and are intended to be validated by GitHub Actions on push.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant