e768098d0e
Flake8 Lint / flake8 (push) Waiting to run
Spell check CI / Spell_Check (push) Waiting to run
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
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
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
|