mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-25 22:16:19 +00:00
* chore(ci): update the GitHub workflow to check the *-dev branch * chore(ci):try to fix the skill check error
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
name: Backend Blocking IO
|
|
|
|
on:
|
|
push:
|
|
branches: ["main", "*-dev"]
|
|
paths:
|
|
- "backend/**"
|
|
- ".github/workflows/backend-blocking-io-tests.yml"
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
paths:
|
|
- "backend/**"
|
|
- ".github/workflows/backend-blocking-io-tests.yml"
|
|
|
|
concurrency:
|
|
group: blocking-io-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
backend-blocking-io:
|
|
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v7
|
|
with:
|
|
# Must match backend/Dockerfile's UV_IMAGE tag; pinned by backend/tests/test_ci_uv_version_pin.py
|
|
version: "0.11.1"
|
|
|
|
- name: Install backend dependencies
|
|
working-directory: backend
|
|
run: uv sync --group dev
|
|
|
|
- name: Run blocking IO regression tests
|
|
working-directory: backend
|
|
run: make test-blocking-io
|