From d3460330b10bb43d1acfd3975c017a3361410850 Mon Sep 17 00:00:00 2001 From: Sidney233 Date: Mon, 14 Jul 2025 16:51:59 +0800 Subject: [PATCH] test: Update huigui.yml --- .github/workflows/huigui.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/huigui.yml b/.github/workflows/huigui.yml index 4d2f5a25..c640d588 100644 --- a/.github/workflows/huigui.yml +++ b/.github/workflows/huigui.yml @@ -13,23 +13,25 @@ on: jobs: cli-test: # if: github.repository == 'opendatalab/MinerU' - runs-on: pdf + runs-on: ubuntu-latest timeout-minutes: 240 strategy: fail-fast: true steps: - name: PDF cli - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: + ref: dev fetch-depth: 2 + - name: install uv + uses: astral-sh/setup-uv@v5 + - name: install&test run: | - source activate mineru - conda env list - pip show coverage - cd $GITHUB_WORKSPACE && sh tests/retry_env.sh + uv --version + uv pip install .[test] cd $GITHUB_WORKSPACE && python tests/clean_coverage.py cd $GITHUB_WORKSPACE && coverage run cd $GITHUB_WORKSPACE && python tests/get_coverage.py