Skip to content

ci: 243 unit testing added to cicd pipeline - #246

Open
frayle-ons wants to merge 3 commits into
mainfrom
243-unit-testing-add-to-cicd-pipeline
Open

frayle-ons wants to merge 3 commits into
mainfrom
243-unit-testing-add-to-cicd-pipeline

Conversation

@frayle-ons

Copy link
Copy Markdown
Contributor

✨ Summary

These changes add unit test testing into the CI GitHub actions workflow. Specifically, the unit test checks now run as part of the lint-test job that is conditioned to run only when a PR's status is set as 'ready for review' (and all all subsequent updates to the ready for review PR).

The exact change was very small, adding an additional line of code to the ci.yml file. The addition of the --extra all flag ensures all necessary optional dependencies are installed for the unit tests:

      - name: Run unit tests
        run: uv run --extra all pytest

I've also commented out 1 of the GCP_Vectoriser unit tests, which is likely failing due to recent updates to the GCP Vectoriser kwargs, see #233

📜 Changes Introduced

  • (test:) updated ci.yml to include unit testing run
  • (test:) commented out failing unit test not related to ticket

✅ Checklist

Changes pass all configured pre-commit steps

🔍 How to Test

Start by checking out the branch that corresponds to this PR. Then create your own PR, saving it as draft and viewing the CI jobs that run. It should show that lint-test is skipped. Following this, convert the test PR to ready for review and observe that the skipped job does run. Inspecting the drop down, see that the unit tests do indeed run as part of the CI step.

If you uncomment the failing unit test, seen in the code changes of this PR, you can see the downstream effect of pushing this change to remote has. Confirm that this action does cause the CI testing to fail the lint-test job and that the cause is the failed unit test.

@frayle-ons
frayle-ons marked this pull request as ready for review October 16, 2026 18:07
@frayle-ons
frayle-ons requested a review from a team as a code owner October 16, 2026 18:07

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant