mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
fix: remove example workflow
This commit is contained in:
parent
14ec370209
commit
b4ae86e7e7
38
.github/workflows/run_examples.yml
vendored
38
.github/workflows/run_examples.yml
vendored
@ -1,38 +0,0 @@
|
|||||||
name: Run Examples
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- fix_examples
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- fix_examples
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-examples:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v3
|
|
||||||
with:
|
|
||||||
python-version: '3.10'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
python -m venv venv
|
|
||||||
source venv/bin/activate
|
|
||||||
pip install -e ".[default]"
|
|
||||||
|
|
||||||
- name: Run Examples
|
|
||||||
run: |
|
|
||||||
source venv/bin/activate
|
|
||||||
python -m examples
|
|
||||||
|
|
||||||
env:
|
|
||||||
SILICONFLOW_API_BASE: ${{ secrets.SILICONFLOW_API_BASE }}
|
|
||||||
SILICONFLOW_API_KEY: ${{ secrets.SILICONFLOW_API_KEY }}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user