mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-10-04 07:36:33 +08:00
30 lines
567 B
YAML
30 lines
567 B
YAML
name: Test Cases Check
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'main' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install the latest version of uv
|
|
uses: astral-sh/setup-uv@v5
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv venv --python 3.12
|
|
uv pip install -e ".[dev]"
|
|
uv pip install -e ".[test]"
|
|
|
|
- name: Run test cases
|
|
run: |
|
|
source .venv/bin/activate
|
|
TAVILY_API_KEY=mock-key make test
|