quyuan vor 1 Jahr
Ursprung
Commit
611e2f593e
3 geänderte Dateien mit 5 neuen und 13 gelöschten Zeilen
  1. 1 4
      .github/workflows/benchmark.yml
  2. 1 9
      .github/workflows/cli.yml
  3. 3 0
      tools/magic-pdf.json

+ 1 - 4
.github/workflows/benchmark.yml

@@ -18,15 +18,12 @@ on:
   workflow_dispatch:
 jobs:
   pdf-test:
-    runs-on: mineru
+    runs-on: ubuntu-latest
     timeout-minutes: 180
     strategy:
       fail-fast: true
 
     steps:
-    - name: config-net
-      run: |
-          source activate base
     - name: PDF benchmark
       uses: actions/checkout@v3
       with:

+ 1 - 9
.github/workflows/cli.yml

@@ -18,15 +18,12 @@ on:
   workflow_dispatch:
 jobs:
   cli-test:
-    runs-on: mineru
+    runs-on: ubuntu-latest
     timeout-minutes: 40
     strategy:
       fail-fast: true
 
     steps:
-    - name: config-net
-      run: |
-        source activate base
     - name: PDF cli
       uses: actions/checkout@v3
       with:
@@ -40,11 +37,6 @@ jobs:
           pip install -r requirements.txt
           pip install -r requirements-qa.txt
         fi
-
-    - name: config-net-reset
-      run: |
-        export http_proxy=""
-        export https_proxy=""
     - name: test_cli
       run: |
         echo $GITHUB_WORKSPACE

+ 3 - 0
tools/magic-pdf.json

@@ -0,0 +1,3 @@
+{       
+    "temp-output-dir": "/tmp/"
+}