Skip pat build in PR (#699)

* skip pat build in PR

* rename
pull/702/head
Wenwei Zhang 2020-12-08 19:19:35 +08:00 committed by GitHub
parent c9f96855b0
commit 1e925a05a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 15 deletions

View File

@ -231,18 +231,3 @@ jobs:
run: |
# The timing on macos VMs is not precise, so we skip the progressbar tests
pytest tests/ --ignore tests/test_utils/test_progressbar.py --ignore tests/test_utils/test_timer.py
build_parrots:
runs-on: ubuntu-latest
container:
image: ghcr.io/sunnyxiaohu/parrots-mmcv:1.2.1
credentials:
username: sunnyxiaohu
password: ${{ secrets.CR_PAT }}
steps:
- uses: actions/checkout@v2
- name: Install unittest dependencies
run: pip install -r requirements/test.txt
- name: Build and install
run: rm -rf .eggs && MMCV_WITH_OPS=1 pip install -e .

25
.github/workflows/build_pat.yml vendored 100644
View File

@ -0,0 +1,25 @@
name: build_pat
on:
push:
branches:
- master
env:
MMCV_WITH_OPS: 1
jobs:
build_parrots:
runs-on: ubuntu-latest
container:
image: ghcr.io/sunnyxiaohu/parrots-mmcv:1.2.1
credentials:
username: sunnyxiaohu
password: ${{ secrets.CR_PAT }}
steps:
- uses: actions/checkout@v2
- name: Install unittest dependencies
run: pip install -r requirements/test.txt
- name: Build and install
run: rm -rf .eggs && MMCV_WITH_OPS=1 pip install -e .