test: Add dynamic steps and multimedia example python script testing in github actions
Added dynamic steps and multimedia python example scripts testing in github actions Test COG-686
This commit is contained in:
parent
2389e60fc1
commit
a345471fef
2 changed files with 46 additions and 0 deletions
23
.github/workflows/test_dynamic_steps_example.yml
vendored
Normal file
23
.github/workflows/test_dynamic_steps_example.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: test | dynamic steps example
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types: [labeled, synchronize]
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
run_dynamic_steps_example_test:
|
||||
uses: ./.github/workflows/reusable_python_example.yml
|
||||
with:
|
||||
example-location: ./examples/python/dynamic_steps_example.py
|
||||
secrets:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }}
|
||||
GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }}
|
||||
23
.github/workflows/test_multimedia_example.yaml
vendored
Normal file
23
.github/workflows/test_multimedia_example.yaml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: test | multimedia example
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types: [labeled, synchronize]
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
run_multimedia_example_test:
|
||||
uses: ./.github/workflows/reusable_python_example.yml
|
||||
with:
|
||||
example-location: ./examples/python/multimedia_example.py
|
||||
secrets:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }}
|
||||
GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }}
|
||||
Loading…
Add table
Reference in a new issue