cognee/.github/workflows/test_notebook.yml
Igor Ilic 6e8ca2f0e6 test: Attempt to fix event propagation issue
Trying to resolve issue of propagating github events to reusable workflow

Test COG-686
2024-11-29 12:04:31 +01:00

24 lines
686 B
YAML

name: test | notebook
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_notebook_test:
uses: ./.github/workflows/reusable_notebook.yml
with:
notebook-location: notebooks/cognee_demo.ipynb
label-name: ${{ github.event.label.name }} # Pass event information explicitly
secrets:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }}
GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }}