diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e184b463f..1e90c6e69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: if: startsWith(matrix.image, 'windows') run: | $env:PATH += ';C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin' - .\build.bat ${{ matrix.options }} ${{ matrix.asm }} + ./build.bat ${{ matrix.options }} ${{ matrix.asm }} - name: Build on Linux if: startsWith(matrix.image, 'ubuntu') run: | @@ -285,12 +285,12 @@ jobs: if: ${{ startsWith(matrix.image, 'windows') && github.event_name != 'schedule' }} run: | $env:PATH += ';C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin' - .\shared\libebm\tests\libebm_test.bat ${{ matrix.options }} ${{ matrix.existing }} + ./shared/libebm/tests/libebm_test.bat ${{ matrix.options }} ${{ matrix.existing }} - name: win test_native (Schedule) if: ${{ startsWith(matrix.image, 'windows') && github.event_name == 'schedule' }} run: | $env:PATH += ';C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin' - .\shared\libebm\tests\libebm_test.bat ${{ matrix.options }} ${{ matrix.existing }} ${{ matrix.scheduled }} + ./shared/libebm/tests/libebm_test.bat ${{ matrix.options }} ${{ matrix.existing }} ${{ matrix.scheduled }} testS: needs: [sdist] @@ -347,11 +347,8 @@ jobs: - name: pytest (non-win) if: ${{ !startsWith(matrix.image, 'windows') }} run: | - python -m pip install --upgrade pip setuptools wheel install_file=$(echo bld/sdist/interpret_core-*.tar.gz) - echo $install_file install_file=$(basename "$install_file" .tar.gz) - echo $install_file python -m pip install "bld/sdist/$install_file.tar.gz"[debug,notebook,plotly,lime,sensitivity,shap,linear,treeinterpreter,aplr,dash,skoperules,testing] mkdir -p "tmp/zqmr/t" tar -xzvf "bld/sdist/$install_file.tar.gz" -C "tmp/zqmr/t" "$install_file/tests" @@ -360,16 +357,15 @@ jobs: - name: pytest (win) if: ${{ startsWith(matrix.image, 'windows') }} run: | - python -m pip install --upgrade pip setuptools wheel - $install_file = Get-ChildItem -Path "bld\sdist" -Filter "interpret_core-*.tar.gz" + $install_file = Get-ChildItem -Path "bld/sdist" -Filter "interpret_core-*.tar.gz" echo $install_file $install_file = $install_file[0].BaseName echo $install_file - $env:PATH += ";C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\" - python -m pip install "bld\sdist\$install_file.tar.gz"[debug,notebook,plotly,lime,sensitivity,shap,linear,treeinterpreter,aplr,dash,skoperules,testing] - New-Item -Path "tmp\zqmr" -ItemType Directory -Force - New-Item -Path "tmp\zqmr\t" -ItemType Directory -Force - tar -xzvf "bld\sdist\$install_file.tar.gz" -C "tmp\zqmr\t" "$install_file/tests" - Set-Location -Path "tmp\zqmr\t" + $env:PATH += ';C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin' + python -m pip install "bld/sdist/$install_file.tar.gz"[debug,notebook,plotly,lime,sensitivity,shap,linear,treeinterpreter,aplr,dash,skoperules,testing] + New-Item -Path "tmp/zqmr" -ItemType Directory -Force + New-Item -Path "tmp/zqmr/t" -ItemType Directory -Force + tar -xzvf "bld/sdist/$install_file.tar.gz" -C "tmp/zqmr/t" "$install_file/tests" + Set-Location -Path "tmp/zqmr/t" $env:PATH += ";$env:GeckoWebDriver" python -m pytest -vv -n auto --junitxml=junit/test-results.xml --cov=interpret --cov-report=xml --cov-report=html