Commit 50319a75 authored by quyuan's avatar quyuan

update ci

parent e2aa8e15
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: PDF name: mineru
on: on:
push: push:
branches: branches:
...@@ -18,7 +18,7 @@ on: ...@@ -18,7 +18,7 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
pdf-test: pdf-test:
runs-on: pdf runs-on: mineru
timeout-minutes: 180 timeout-minutes: 180
strategy: strategy:
fail-fast: true fail-fast: true
......
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: PDF name: mineru
on: on:
push: push:
branches: branches:
...@@ -18,7 +18,7 @@ on: ...@@ -18,7 +18,7 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
cli-test: cli-test:
runs-on: pdf runs-on: mineru
timeout-minutes: 40 timeout-minutes: 40
strategy: strategy:
fail-fast: true fail-fast: true
...@@ -53,7 +53,7 @@ jobs: ...@@ -53,7 +53,7 @@ jobs:
notify_to_feishu: notify_to_feishu:
if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }} if: ${{ always() && !cancelled() && contains(needs.*.result, 'failure') && (github.ref_name == 'master') }}
needs: [cli-test] needs: [cli-test]
runs-on: pdf runs-on: mineru
steps: steps:
- name: get_actor - name: get_actor
run: | run: |
......
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