-
Notifications
You must be signed in to change notification settings - Fork 898
35 lines (33 loc) · 1.11 KB
/
flowdag_schema_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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