chore: import upstream snapshot with attribution
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
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
|
||||
Reference in New Issue
Block a user