Skip to content

ci(client-python): migrate ci pipeline from circleci to github actions (#391) - #392

Merged
Guillaume (guillaumejparis) merged 15 commits into
mainfrom
ci/391-migrate-ci-pipeline-from-circleci-to-github-actions
Nov 27, 2026
Merged

Guillaume (guillaumejparis) merged 15 commits into
mainfrom
ci/391-migrate-ci-pipeline-from-circleci-to-github-actions

Conversation

@Megafredo

@Megafredo Frédéric BASLER (Megafredo) commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Proposed changes

  • Migrate code formatting checks (isort and black).
  • Migrate linting checks (flake8).
  • Migrate automated tests (pytest).
  • Migrate the Python package build process.
  • Preserve Python 3.13 environment.
  • Preserve package version validation against Git tags.
  • Create a reusable checkout composite action to centralize and standardize repository checkout configuration.
  • Create a reusable setup-python composite action to centralize Python version and environment setup.
  • Introduce a Pipeline Gate job to provide a single status check for the entire CI pipeline.

Additional information

Testing Instructions

  1. Step-by-step how to test
  2. Environment or config notes

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality
  • For bug fix -> I implemented a test that covers the bug

Further comments

@Megafredo Frédéric BASLER (Megafredo) added the filigran team Item from the Filigran team. label Nov 26, 2026
@Megafredo Frédéric BASLER (Megafredo) changed the title ci(client-python): migrate ci pipeline from circleci to github actions ci(client-python): migrate ci pipeline from circleci to github actions (#391) Nov 26, 2026
Rename the CI to [Client Python] CI, upload dist/ as the pyoaev-dist
artifact, and retry failed runs up to the third attempt. Push runs of this
branch are enabled for now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@guillaumejparis
Guillaume (guillaumejparis) force-pushed the ci/391-migrate-ci-pipeline-from-circleci-to-github-actions branch from ba9da93 to 76165c6 Compare November 26, 2026 13:42
@guillaumejparis
Guillaume (guillaumejparis) marked this pull request as ready for review November 26, 2026 15:26
Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The retry workflow can suppress retries for unrelated PRs due to branch/event matching and abort timed-out retries by passing job IDs instead of check-run IDs to the Checks API.

2 open issues
What changed in this PR

This PR adds GitHub Actions workflows to migrate the Python client’s CI checks and package builds from CircleCI. PyPI deployment and Slack notifications remain outside this migration’s scope.

Changes:

  • Adds formatting, linting, tests, and package builds with tag-version validation and artifact upload.
  • Centralizes checkout and Python 3.13 environment setup in composite actions.
  • Introduces a single Pipeline Gate status check and automatic retries for failed CI runs.
File Description
.github/​workflows/​ci-retry.yml Adds bounded retries with supersession and timeout checks.
.github/​workflows/​ci-pipeline.yml Coordinates checks, builds, version validation, artifacts, and the gate.
.github/​workflows/​ci-lint-format.yml Adds reusable isort, Black, and flake8 checks.
.github/​actions/​setup-python/​action.yml Configures Python 3.13, pip caching, and development dependencies.
.github/​actions/​checkout/​action.yml Wraps a pinned checkout action for reuse.

Review effort: Balanced

Comment on lines +48 to +50
latest_run_id=$(gh api --method GET "repos/${REPO}/actions/workflows/${WORKFLOW_ID}/runs" \
-f branch="${HEAD_BRANCH}" -f event="${EVENT}" -F per_page=1 \
--jq '.workflow_runs[0].id')
# reading as "no timeout".
job_ids=$(gh api --paginate \
"repos/${REPO}/actions/runs/${RUN_ID}/attempts/${ATTEMPT}/jobs" \
--jq '.jobs[] | select(.conclusion == "cancelled") | .id')
@guillaumejparis
Guillaume (guillaumejparis) merged commit 7954bac into main Nov 27, 2026
18 checks passed
@guillaumejparis
Guillaume (guillaumejparis) deleted the ci/391-migrate-ci-pipeline-from-circleci-to-github-actions branch November 27, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team Item from the Filigran team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(scope): Migrate CI pipeline from CircleCI to GitHub Actions

3 participants