generated from oracle/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 14
[BUGS] Fix CI Workflow Errors #64
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
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9e65808
Update CI workflows and Poetry version
paxiaatucsdedu d74f1a0
Refactor OCI code to appease the lint god
paxiaatucsdedu af31374
Fix make lint error
paxiaatucsdedu d01a7c9
Use Union type to pass make lint check
paxiaatucsdedu 01bc793
Add LangGraph and related packages for integration tests
paxiaatucsdedu 37164ec
Add placeholder integration test for OCI
paxiaatucsdedu 21f7627
Revert commit: Refactor OCI code to appease the lint god
paxiaatucsdedu c2fad14
Refactor to pass make lint checks
paxiaatucsdedu e38af36
Refactor oracledb to pass make lint tests
paxiaatucsdedu 6dc6c0c
Remove placeholder integration tests and compile-integration-tests jo…
paxiaatucsdedu 3596291
Use default 88 line length in ruff formatting
paxiaatucsdedu 36d9e69
Remove noqa: E501 comments and reformat long lines
paxiaatucsdedu 3b88b83
Fix typo in test JSON string for tool calling
paxiaatucsdedu 55c9ecb
Fix escaped JSON string in test_oci_generative_ai.py
paxiaatucsdedu 47d4a87
Remove extra noqa:E501 and split long strings
paxiaatucsdedu 43303c3
Remove redundant Poetry check command
paxiaatucsdedu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ on: | |
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| workflow_dispatch: # Allows manual triggering from GitHub UI | ||
|
|
||
| # If another push to the same PR or branch happens while this workflow is still running, | ||
| # cancel the earlier run in favor of the next run. | ||
|
|
@@ -17,62 +18,36 @@ concurrency: | |
| cancel-in-progress: true | ||
|
|
||
| env: | ||
| POETRY_VERSION: "1.7.1" | ||
| POETRY_VERSION: "2.2.1" | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.10' | ||
| - id: files | ||
| uses: Ana06/[email protected] | ||
| - id: set-matrix | ||
| run: | | ||
| python .github/scripts/check_diff.py ${{ steps.files.outputs.all }} >> $GITHUB_OUTPUT | ||
| outputs: | ||
| dirs-to-lint: ${{ steps.set-matrix.outputs.dirs-to-lint }} | ||
| dirs-to-test: ${{ steps.set-matrix.outputs.dirs-to-test }} | ||
| lint: | ||
| name: cd ${{ matrix.working-directory }} | ||
| needs: [ build ] | ||
| if: ${{ needs.build.outputs.dirs-to-lint != '[]' }} | ||
| strategy: | ||
| matrix: | ||
| working-directory: ${{ fromJson(needs.build.outputs.dirs-to-lint) }} | ||
| working-directory: | ||
| - "libs/oci" | ||
| - "libs/oracledb" | ||
| uses: ./.github/workflows/_lint.yml | ||
| with: | ||
| working-directory: ${{ matrix.working-directory }} | ||
| secrets: inherit | ||
|
|
||
| test: | ||
| name: cd ${{ matrix.working-directory }} | ||
| needs: [ build ] | ||
| if: ${{ needs.build.outputs.dirs-to-test != '[]' }} | ||
| strategy: | ||
| matrix: | ||
| working-directory: ${{ fromJson(needs.build.outputs.dirs-to-test) }} | ||
| working-directory: | ||
| - "libs/oci" | ||
| - "libs/oracledb" | ||
| uses: ./.github/workflows/_test.yml | ||
| with: | ||
| working-directory: ${{ matrix.working-directory }} | ||
| secrets: inherit | ||
|
|
||
| compile-integration-tests: | ||
| name: cd ${{ matrix.working-directory }} | ||
| needs: [ build ] | ||
| if: ${{ needs.build.outputs.dirs-to-test != '[]' }} | ||
| strategy: | ||
| matrix: | ||
| working-directory: ${{ fromJson(needs.build.outputs.dirs-to-test) }} | ||
| uses: ./.github/workflows/_compile_integration_test.yml | ||
| with: | ||
| working-directory: ${{ matrix.working-directory }} | ||
| secrets: inherit | ||
| ci_success: | ||
| name: "CI Success" | ||
| needs: [build, lint, test, compile-integration-tests] | ||
| needs: [lint, test] | ||
| if: | | ||
| always() | ||
| runs-on: ubuntu-latest | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.