From 23ecd83d5914c70a0615f082d180e3e49325e173 Mon Sep 17 00:00:00 2001 From: wang shiguang Date: Tue, 24 Nov 2020 15:10:24 +0800 Subject: [PATCH] Add parrots ci (#662) * add parrots ci * update with ops build * Update build.yml * cridents env * Update build.yml --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b068c227..aa4e24f7d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 .