From 3ebcddf8be60396c61dc86f10ad75b5654508d88 Mon Sep 17 00:00:00 2001 From: "Linlang Lv (iSoftStone Information)" Date: Thu, 25 Apr 2024 16:02:24 +0800 Subject: [PATCH] fix ci --- .github/workflows/test_qlib_from_pip.yml | 2 +- .github/workflows/test_qlib_from_source.yml | 3 +-- .github/workflows/test_qlib_from_source_slow.yml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_qlib_from_pip.yml b/.github/workflows/test_qlib_from_pip.yml index 06e04a37b..07397e58a 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-20.04, ubuntu-22.04, macos-11, macos-13] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12] # 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 6d3f9ea58..8d816d61c 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-20.04, ubuntu-22.04, macos-11, macos-13] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8] @@ -153,7 +153,6 @@ jobs: wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb brew unlink libomp brew install libomp.rb - export DYLD_LIBRARY_PATH=/usr/local/opt/libomp/lib:$DYLD_LIBRARY_PATH # Run after data downloads - name: Check Qlib ipynb with nbconvert diff --git a/.github/workflows/test_qlib_from_source_slow.yml b/.github/workflows/test_qlib_from_source_slow.yml index da2a23801..344238131 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-20.04, ubuntu-22.04, macos-11, macos-13] + os: [windows-latest, ubuntu-20.04, ubuntu-22.04, macos-11, macos-12] # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: [3.7, 3.8] @@ -57,7 +57,6 @@ jobs: wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb brew unlink libomp brew install libomp.rb - export DYLD_LIBRARY_PATH=/usr/local/opt/libomp/lib:$DYLD_LIBRARY_PATH - name: Unit tests with Pytest uses: nick-fields/retry@v2