Skip to content

Commit

Permalink
Updated CI. (open-mmlab#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaochaorui committed Nov 10, 2020
1 parent ff3a591 commit 2754b6c
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build.yml
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
matrix:
python-version: [3.7]
torch: [1.3.0, 1.4.0, 1.5.0, 1.6.0]
torch: [1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0]
include:
- torch: 1.3.0
torchvision: 0.4.2
Expand All @@ -45,6 +45,8 @@ jobs:
torchvision: 0.6.1
- torch: 1.6.0
torchvision: 0.7.0
- torch: 1.7.0
torchvision: 0.8.1
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -75,7 +77,7 @@ jobs:
strategy:
matrix:
python-version: [3.7]
torch: [1.3.1, 1.5.1+cu101, 1.6.0+cu101]
torch: [1.3.1, 1.5.1+cu101, 1.6.0+cu101, 1.7.0+cu101]
include:
- torch: 1.3.1
torchvision: 0.4.2
Expand All @@ -86,13 +88,16 @@ jobs:
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "latest+torch1.6.0+cu101"
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "latest+torch1.6.0+cu101"
- torch: 1.7.0+cu101
torchvision: 0.8.1+cu101
mmcv: "latest+torch1.7.0+cu101"
- torch: 1.7.0+cu101
torchvision: 0.8.1+cu101
mmcv: "latest+torch1.7.0+cu101"
python-version: 3.6
- torch: 1.6.0+cu101
torchvision: 0.7.0+cu101
mmcv: "latest+torch1.6.0+cu101"
- torch: 1.7.0+cu101
torchvision: 0.8.1+cu101
mmcv: "latest+torch1.7.0+cu101"
python-version: 3.8

steps:
Expand Down Expand Up @@ -137,7 +142,7 @@ jobs:
coverage xml
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.10
uses: codecov/codecov-action@v1.0.14
with:
file: ./coverage.xml
flags: unittests
Expand Down

0 comments on commit 2754b6c

Please sign in to comment.