Commit d3460330 authored by Sidney233's avatar Sidney233
Browse files

test: Update huigui.yml

parent ec1ba2c0
...@@ -13,23 +13,25 @@ on: ...@@ -13,23 +13,25 @@ on:
jobs: jobs:
cli-test: cli-test:
# if: github.repository == 'opendatalab/MinerU' # if: github.repository == 'opendatalab/MinerU'
runs-on: pdf runs-on: ubuntu-latest
timeout-minutes: 240 timeout-minutes: 240
strategy: strategy:
fail-fast: true fail-fast: true
steps: steps:
- name: PDF cli - name: PDF cli
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: dev
fetch-depth: 2 fetch-depth: 2
- name: install uv
uses: astral-sh/setup-uv@v5
- name: install&test - name: install&test
run: | run: |
source activate mineru uv --version
conda env list uv pip install .[test]
pip show coverage
cd $GITHUB_WORKSPACE && sh tests/retry_env.sh
cd $GITHUB_WORKSPACE && python tests/clean_coverage.py cd $GITHUB_WORKSPACE && python tests/clean_coverage.py
cd $GITHUB_WORKSPACE && coverage run cd $GITHUB_WORKSPACE && coverage run
cd $GITHUB_WORKSPACE && python tests/get_coverage.py cd $GITHUB_WORKSPACE && python tests/get_coverage.py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment