From f98370c878c7500c1e5e5d7dd38a87f2e3f6f48e Mon Sep 17 00:00:00 2001 From: "Linlang Lv (iSoftStone Information)" Date: Thu, 25 Apr 2024 15:51:07 +0800 Subject: [PATCH] fix ci --- .github/workflows/test_qlib_from_source.yml | 1 + .github/workflows/test_qlib_from_source_slow.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test_qlib_from_source.yml b/.github/workflows/test_qlib_from_source.yml index beae2ebb03..6d3f9ea58b 100644 --- a/.github/workflows/test_qlib_from_source.yml +++ b/.github/workflows/test_qlib_from_source.yml @@ -153,6 +153,7 @@ 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 86e1abb706..da2a23801d 100644 --- a/.github/workflows/test_qlib_from_source_slow.yml +++ b/.github/workflows/test_qlib_from_source_slow.yml @@ -57,6 +57,7 @@ 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