Skip to content

chore: add github actions #28

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
merged 2 commits into from
Jun 13, 2025
Merged

chore: add github actions #28

merged 2 commits into from
Jun 13, 2025

Conversation

gheorghitahurmuz
Copy link
Collaborator

No description provided.

@gheorghitahurmuz gheorghitahurmuz force-pushed the chore/add-ci-lint-tests branch 2 times, most recently from a4986bd to f1988a6 Compare June 13, 2025 08:44
@cristipufu cristipufu force-pushed the chore/add-ci-lint-tests branch 3 times, most recently from 6b3f1b0 to 6c822a4 Compare June 13, 2025 18:12
@cristipufu cristipufu force-pushed the chore/add-ci-lint-tests branch from 6c822a4 to 512b56c Compare June 13, 2025 18:14
@cristipufu cristipufu requested a review from Copilot June 13, 2025 18:15
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds GitHub Actions workflows for CI (commit lint, linting, testing), publishing packages, and docs, and includes small code cleanups—mainly adding # type: ignore to certain imports and refining environment-variable handling.

  • Unified UIPATH_URL lookup into a single line and added safe defaults when unpacking input_json.
  • Added # type: ignore comments on AzureOpenAI and StepConfig imports.
  • Introduced GitHub Actions workflows: commit lint, lint, test, CI orchestration, publish, and publish-docs.

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/uipath_llamaindex/llms/_openai_llms.py Added # type: ignore to AzureOpenAI import; simplified base_url parsing
src/uipath_llamaindex/embeddings/_openai_embeddings.py Same import/type-ignore and base_url rstrip consolidation
src/uipath_llamaindex/_cli/cli_run.py Removed unused Any, Dict imports
src/uipath_llamaindex/_cli/cli_init.py Refactored current_stop_event and step_config initialization
src/uipath_llamaindex/_cli/_runtime/_runtime.py Added early returns for missing workflow/context; safe input_json unpacking
src/uipath_llamaindex/_cli/_runtime/_hitl.py Guarded against api_resume being None before access
pyproject.toml Excluded samples/.* from tooling
.github/workflows/test.yml New test workflow; uses continue-on-error: true
.github/workflows/lint.yml New lint workflow
.github/workflows/commitlint.yml New commit-lint workflow
.github/workflows/ci.yml CI orchestration combining commit-lint, lint, and test jobs
.github/workflows/publish.yml Publish job now depends on lint and test
.github/workflows/publish-docs.yml Publish Docs on main/docs changes
Comments suppressed due to low confidence (1)

.github/workflows/test.yml:36

  • Using continue-on-error: true will prevent test failures from failing the workflow. If the intent is to block merges on test failures, consider removing this or setting it to false.
continue-on-error: true

@gheorghitahurmuz gheorghitahurmuz merged commit b8112e4 into main Jun 13, 2025
13 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.

2 participants