Skip to content

Commit

Permalink
fafasdfsafd
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jul 25, 2024
1 parent 69c7b3f commit bcf4566
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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"
Expand All @@ -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

0 comments on commit bcf4566

Please sign in to comment.