Skip to content

fix: 修复title、list、table、text管线中换行不正确以及缺失内容 #1485

fix: 修复title、list、table、text管线中换行不正确以及缺失内容

fix: 修复title、list、table、text管线中换行不正确以及缺失内容 #1485

Workflow file for this run

name: pr_stage_test
on:
pull_request:
paths-ignore:
- ".github/**.md"
- "docs/**"
- 'examples/**'
- "README.md"
- "README_zh-CN.md"
- "CONTRIBUTING.md"
- ".pre-commit-config.yaml"
- ".pre-commit-config-zh-cn.yaml"
push:
branches:
- main
- dev
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr_ut_test:
runs-on: ubuntu-latest
env:
LLM_WEB_KIT_CFG_PATH: ${{ github.workspace }}/bench/config/ours_config.jsonc
PYTHONPATH: $PYTHONPATH:${{ github.workspace }}
strategy:
matrix:
python-version: [3.10.16]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build llm_web_kit from source
run: |
pip install -e .
pip list | grep llm_web_kit
- name: Install unit tests dependencies
run: |
pip install -r requirements/runtime.txt
pip install -r requirements/dev.txt
- name: Run tests and collect coverage
run: |
pytest --cov --cov-report=xml ./tests/llm_web_kit
pytest -n auto ./tests/jupyter
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
pr_st_test:
runs-on: ubuntu-latest
env:
LLM_WEB_KIT_CFG_PATH: ${{ github.workspace }}/bench/config/ours_config.jsonc
PYTHONPATH: $PYTHONPATH:${{ github.workspace }}
strategy:
matrix:
python-version: [3.10.15]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Build llm_web_kit from source
run: |
pip install -e .
pip list | grep llm_web_kit
- name: Install unit tests dependencies
run: |
pip install -r requirements/runtime.txt
pip install -r requirements/dev.txt
- name: Run st tests
run: pytest -v ./tests/st