Skip to content

Users/singankit/promptflow eval #592

Users/singankit/promptflow eval

Users/singankit/promptflow eval #592

name: examples_flowdag_schema_check
on:
pull_request:
paths:
- examples/**
- .github/workflows/flowdag_schema_check.yml
- scripts/readme/schema_checker.py
env:
IS_IN_CI_PIPELINE: "true"
jobs:
examples_flowdag_schema_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: env | sort >> $GITHUB_OUTPUT
- name: Python Setup - ubuntu-latest - Python Version 3.9
uses: "./.github/actions/step_create_python_environment"
with:
pythonVersion: 3.9
- run: |
pip install -r ${{ github.workspace }}/examples/dev_requirements.txt
pip install -r ${{ github.workspace }}/examples/requirements.txt
- name: Summarize check status
id: summarize_check_status
working-directory: ${{ github.workspace }}
shell: pwsh
env:
PYTHONPATH: ${{ github.workspace }}/src/promptflow
run: |
cd ${{ github.workspace }}/src
pip install ./promptflow[azure]
pip install ./promptflow-tools
python ${{ github.workspace }}/scripts/readme/schema_checker.py