From 0d9853e6d9490356d11c948053b4a246efcfb17c Mon Sep 17 00:00:00 2001 From: "Linlang Lv (iSoftStone Information)" Date: Thu, 25 Apr 2024 14:51:21 +0800 Subject: [PATCH] fix ci --- .github/workflows/test_qlib_from_pip.yml | 2 +- .github/workflows/test_qlib_from_source.yml | 2 +- .github/workflows/test_qlib_from_source_slow.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_qlib_from_pip.yml b/.github/workflows/test_qlib_from_pip.yml index bde41d8026..f59de21a61 100644 --- a/.github/workflows/test_qlib_from_pip.yml +++ b/.github/workflows/test_qlib_from_pip.yml @@ -28,7 +28,7 @@ jobs: if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7') uses: actions/setup-python@v4 with: - python-version: "3.7.16" + python-version: ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }} if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7') diff --git a/.github/workflows/test_qlib_from_source.yml b/.github/workflows/test_qlib_from_source.yml index 9205a13641..0943d9bb60 100644 --- a/.github/workflows/test_qlib_from_source.yml +++ b/.github/workflows/test_qlib_from_source.yml @@ -29,7 +29,7 @@ jobs: if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7') uses: actions/setup-python@v4 with: - python-version: "3.7.16" + python-version: ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }} if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7') diff --git a/.github/workflows/test_qlib_from_source_slow.yml b/.github/workflows/test_qlib_from_source_slow.yml index caab6f444e..9a153dcbde 100644 --- a/.github/workflows/test_qlib_from_source_slow.yml +++ b/.github/workflows/test_qlib_from_source_slow.yml @@ -29,7 +29,7 @@ jobs: if: (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7') uses: actions/setup-python@v4 with: - python-version: "3.7.16" + python-version: ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }} if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')