From bc7e80ed7f292f4b0b217293114f76f7602c03ac Mon Sep 17 00:00:00 2001 From: Junjun2016 Date: Wed, 27 Oct 2021 06:39:57 +0800 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9b65599ab..3e312a92fd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,11 +75,11 @@ jobs: coverage run --branch --source mmseg -m pytest tests/ coverage xml coverage report -m - if: ${{matrix.torch >= '1.6.0'}} + if: ${{matrix.torch >= '1.5.0'}} - name: Run unittests and skip timm unittests run: | pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py - if: ${{matrix.torch < '1.6.0'}} + if: ${{matrix.torch < '1.5.0'}} build_cuda101: runs-on: ubuntu-18.04 @@ -152,11 +152,11 @@ jobs: coverage run --branch --source mmseg -m pytest tests/ coverage xml coverage report -m - if: ${{matrix.torch >= '1.6.0'}} + if: ${{matrix.torch >= '1.5.0'}} - name: Run unittests and skip timm unittests run: | pytest tests/ --ignore tests/test_models/test_backbones/test_timm_backbone.py - if: ${{matrix.torch < '1.6.0'}} + if: ${{matrix.torch < '1.5.0'}} - name: Upload coverage to Codecov uses: codecov/codecov-action@v1.0.10 with: