From 4389c209b58806e75fcaef8ed09c3e8c1f07a401 Mon Sep 17 00:00:00 2001 From: Jintao Lin <528557675@qq.com> Date: Tue, 10 Nov 2020 21:14:16 +0800 Subject: [PATCH] Update CI (#312) * update CI * update changelog --- .github/workflows/build.yml | 23 ++++++++++++++--------- docs/changelog.md | 1 + 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3947e5298d..e33814d116 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 }} @@ -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 @@ -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: @@ -142,7 +147,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 diff --git a/docs/changelog.md b/docs/changelog.md index f47bb17ee1..966c28df8c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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))