Unverified Commit 1e925a05 authored by Wenwei Zhang's avatar Wenwei Zhang Committed by GitHub
Browse files

Skip pat build in PR (#699)

* skip pat build in PR

* rename
parent c9f96855
...@@ -231,18 +231,3 @@ jobs: ...@@ -231,18 +231,3 @@ jobs:
run: | run: |
# The timing on macos VMs is not precise, so we skip the progressbar tests # 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 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 .
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 .
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