Skip to content

CI: Avoid rebuilding the test extension twice - #129

Open
pniedzielski wants to merge 1 commit into
bloomberg:mainfrom
pniedzielski:ci/remove-redundant-test-build
Open

pniedzielski wants to merge 1 commit into
bloomberg:mainfrom
pniedzielski:ci/remove-redundant-test-build

Conversation

@pniedzielski

@pniedzielski pniedzielski commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

The Linux test job builds the Cython extension twice: first with the Makefile target test-build, and then again immediately after during the editable installation in test-install. They are both built with the same Cython test settings, and so there is no benefit to having both.

This patch changes our Linux test job to run test-install followed by check, which avoids this redundant build.

@pniedzielski
pniedzielski requested a review from a team as a code owner November 10, 2026 20:29
The Linux test job builds the Cython extension twice: first with the
Makefile target `test-build`, and then again immediately after during
the editable installation in `test-install`.  They are both built with
the same Cython test settings, and so there is no benefit to having
both.

This patch changes our Linux test job to run `test-install` followed by
`check`, which avoids this redundant build.

Signed-off-by: Patrick M. Niedzielski <pniedzielski@bloomberg.net>
@pniedzielski
pniedzielski force-pushed the ci/remove-redundant-test-build branch from b6212a0 to 3c83ac6 Compare November 10, 2026 20:36
@pniedzielski pniedzielski added skip news No news entry is required github_actions Pull requests that update GitHub Actions code labels Nov 10, 2026

This branch has not been deployed

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

Labels

github_actions Pull requests that update GitHub Actions code skip news No news entry is required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants