Skip to content

Commit

Permalink
Update CI (open-mmlab#312)
Browse files Browse the repository at this point in the history
* update CI

* update changelog
  • Loading branch information
dreamerlin authored Nov 10, 2020
1 parent 0b39492 commit 4389c20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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 @@ -36,6 +36,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 @@ -76,7 +78,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 @@ -87,13 +89,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 @@ -142,7 +147,7 @@ jobs:
coverage xml
coverage report -m
- name: Upload coverage to Codecov
uses: codecov/[email protected].10
uses: codecov/[email protected].14
with:
file: ./coverage.xml
flags: unittests
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Automatically add modelzoo statistics to readthedocs ([#327](https://github.com/open-mmlab/mmaction2/pull/327))

**Improvements**
- Support PyTorch 1.7 in CI ([#312](https://github.com/open-mmlab/mmaction2/pull/312))
- Add random seed for building filelists ([#323](https://github.com/open-mmlab/mmaction2/pull/323))
- Move docs about demo to `demo/README.md` ([#329](https://github.com/open-mmlab/mmaction2/pull/329))

Expand Down

0 comments on commit 4389c20

Please sign in to comment.