From 754799ab051b9575b12ac21a7eaa296e50fbefd4 Mon Sep 17 00:00:00 2001 From: Fivele-Li <128388363+Fivele-Li@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:06:48 +0800 Subject: [PATCH] update ubuntu CI version; (#1488) * update ubuntu CI version; (End of standard support for 18.04 LTS - 31 May 2023) * update ubuntu CI version; --------- Co-authored-by: lijinhui <362237642@qq.com> --- .github/workflows/test_qlib_from_pip.yml | 2 +- .github/workflows/test_qlib_from_source.yml | 4 ++-- .github/workflows/test_qlib_from_source_slow.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_qlib_from_pip.yml b/.github/workflows/test_qlib_from_pip.yml index d23f7ed70..e6202e57e 100644 --- a/.github/workflows/test_qlib_from_pip.yml +++ b/.github/workflows/test_qlib_from_pip.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-18.04, ubuntu-20.04, macos-11, macos-latest] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8] diff --git a/.github/workflows/test_qlib_from_source.yml b/.github/workflows/test_qlib_from_source.yml index b7041e33a..2052674af 100644 --- a/.github/workflows/test_qlib_from_source.yml +++ b/.github/workflows/test_qlib_from_source.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-18.04, ubuntu-20.04, macos-11, macos-latest] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8] @@ -37,7 +37,7 @@ jobs: python -m pip install torch torchvision torchaudio - name: Installing pytorch for ubuntu - if: ${{ matrix.os == 'ubuntu-18.04' || matrix.os == 'ubuntu-20.04' }} + if: ${{ matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' }} run: | python -m pip install --upgrade pip python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu diff --git a/.github/workflows/test_qlib_from_source_slow.yml b/.github/workflows/test_qlib_from_source_slow.yml index a6033ae6a..656687b89 100644 --- a/.github/workflows/test_qlib_from_source_slow.yml +++ b/.github/workflows/test_qlib_from_source_slow.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-18.04, ubuntu-20.04, macos-11, macos-latest] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-latest] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8]