Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjun2016 committed Oct 26, 2021
1 parent b75c201 commit bc7e80e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit bc7e80e

Please sign in to comment.