From 62d4943893016d0570173e3e0cdf34c6175f0942 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Tue, 25 Jun 2024 07:35:21 +0000 Subject: [PATCH] Check settings for Windows. Signed-off-by: Jay Zhang --- .github/actions/unit_test_run/action.yml | 16 ++++++++-------- .github/workflows/unit_tests_ci.yml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/unit_test_run/action.yml b/.github/actions/unit_test_run/action.yml index e918e85bb..3e4461025 100644 --- a/.github/actions/unit_test_run/action.yml +++ b/.github/actions/unit_test_run/action.yml @@ -37,14 +37,14 @@ runs: chmod +x ./tests/utils/setup_test_env.sh ./tests/utils/setup_test_env.sh ${{ inputs.tf_version }} ${{ inputs.ort_version }} ${{ inputs.onnx_version }} - - name: Fix Paths (Windows only) - shell: cmd - if: runner.os == 'Windows' - run: | - $site_dir = python -c "import site; print(site.getsitepackages()[1])" - echo "##vso[task.prependpath]$site_dir\numpy\.libs" - $base_dir = python -c "import site; print(site.getsitepackages()[0])" - echo "##vso[task.prependpath]$base_dir/Library/bin" + # - name: Fix Paths (Windows only) + # shell: cmd + # if: runner.os == 'Windows' + # run: | + # $site_dir = python -c "import site; print(site.getsitepackages()[1])" + # echo "##vso[task.prependpath]$site_dir\numpy\.libs" + # $base_dir = python -c "import site; print(site.getsitepackages()[0])" + # echo "##vso[task.prependpath]$base_dir/Library/bin" - name: Run unit_test (Linux) shell: bash diff --git a/.github/workflows/unit_tests_ci.yml b/.github/workflows/unit_tests_ci.yml index f427c659b..387e285f9 100644 --- a/.github/workflows/unit_tests_ci.yml +++ b/.github/workflows/unit_tests_ci.yml @@ -73,7 +73,7 @@ jobs: name: - 'py39-tf2.10' - 'py39-tf2.15' - os: ['ubuntu-latest', 'windows-2022'] + os: ['windows-2022'] opset_version: ['18', '15'] ort_version: ['1.16.3'] onnx_version: ['1.16.1']