<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Updated the CI configuration for integration tests to use revised secret values, ensuring improved alignment with current external API credential requirements and deprecating legacy references. - Made several secrets optional in the workflow, enhancing flexibility during execution. - Removed several outdated secrets from multiple workflows, streamlining the configuration. - Improved error handling in the code processing logic by adding exception management for `AttributeError` and `AssertionError`. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
23 lines
697 B
YAML
23 lines
697 B
YAML
name: test | code graph example
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [labeled, synchronize]
|
|
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
run_simple_example_test:
|
|
uses: ./.github/workflows/reusable_python_example.yml
|
|
with:
|
|
example-location: ./examples/python/code_graph_example.py
|
|
arguments: "--repo_path ./evals"
|
|
secrets:
|
|
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }}
|
|
GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }}
|