Add parrots ci (#662)

* add parrots ci

* update with ops build

* Update build.yml

* cridents env

* Update build.yml
pull/752/head^2
wang shiguang 2020-11-24 15:10:24 +08:00 committed by GitHub
parent d2fa1abc53
commit 23ecd83d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -231,3 +231,18 @@ 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 .