From bd1d6066a7e0775e88f8687ecbe1343845e1bc5a Mon Sep 17 00:00:00 2001 From: Kevin CO Date: Thu, 23 Nov 2023 17:26:13 -0500 Subject: [PATCH] . --- .github/workflows/run_tests_win.yml | 26 +++++++++++++------------- external/bioptim_install_windows.sh | 5 ++++- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/.github/workflows/run_tests_win.yml b/.github/workflows/run_tests_win.yml index c45c2694..eddd5cb8 100644 --- a/.github/workflows/run_tests_win.yml +++ b/.github/workflows/run_tests_win.yml @@ -42,12 +42,12 @@ jobs: mamba info mamba list - - name: Install bioptim on Windows - run: - uses: actions/checkout@v2 - with: - submodules: bioptim - python setup.py install +# - name: Install bioptim on Windows +# run: +# uses: actions/checkout@v2 +# with: +# submodules: bioptim +# python setup.py install # - name: Install bioptim on Windows # run: | @@ -57,13 +57,13 @@ jobs: # pwd # python setup.py install -# - name: Install bioptim on Windows -# run: | -# pwd -# cd external -# ./bioptim_install_windows.sh 4 ${{ env.PREFIX_WINDOWS }} -# cd .. -# if: matrix.os == 'windows-latest' && matrix.shard == 1 + - name: Install bioptim on Windows + run: | + pwd + cd external + ./bioptim_install_windows.sh 4 ${{ env.PREFIX_WINDOWS }} + cd .. + if: matrix.os == 'windows-latest' && matrix.shard == 1 - name: Install extra dependencies run: mamba install pytest-cov black pytest pytest-cov codecov packaging -cconda-forge diff --git a/external/bioptim_install_windows.sh b/external/bioptim_install_windows.sh index 859588de..eeb08518 100644 --- a/external/bioptim_install_windows.sh +++ b/external/bioptim_install_windows.sh @@ -2,8 +2,11 @@ ## Move to the external folder cd ${0%/*} -# + +git submodule update --recursive --init + ## Move to the bioptim folder +ls cd bioptim # Installing bioptim