Upgrade Ubuntu version from `18.04` to `20.04` (#11395)

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Carlos Mocholi <carlossmocholi@gmail.com>
This commit is contained in:
Aki Nitta 2022-01-14 00:01:31 +09:00 committed by GitHub
parent a80da35d5d
commit d95c0d5a44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,13 +17,13 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-18.04, windows-2019, macOS-10.15] os: [ubuntu-20.04, windows-2019, macOS-10.15]
python-version: ["3.7", "3.9"] # minimum, maximum python-version: ["3.7", "3.9"] # minimum, maximum
requires: ["oldest", "latest"] requires: ["oldest", "latest"]
release: ["stable"] release: ["stable"]
exclude: exclude:
# Skip if torch<1.8 and py3.9 on Linux: https://github.com/pytorch/pytorch/issues/50014 # Skip if torch<1.8 and py3.9 on Linux: https://github.com/pytorch/pytorch/issues/50014
- {os: ubuntu-18.04, python-version: "3.9", requires: "oldest", release: "stable"} - {os: ubuntu-20.04, python-version: "3.9", requires: "oldest"}
#include: #include:
# nightly: add when there's a release candidate # nightly: add when there's a release candidate
#- {os: ubuntu-20.04, python-version: "3.10", requires: "latest", release: "pre"} #- {os: ubuntu-20.04, python-version: "3.10", requires: "latest", release: "pre"}