Skip to content

Commit

Permalink
add installation of mbtk
Browse files Browse the repository at this point in the history
  • Loading branch information
vot4anto committed Oct 16, 2024
1 parent e541a51 commit c3574a1
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test_win64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,18 @@ jobs:
Write-Host "Git branch for Run action "${Env:GIT_BRANCH}
#
$curDir = Get-Location
Write-Host "Current Working Directory: $curDir"
Write-Host "Test python version"
python -V
Write-Host "Install OQ form master and mbtk from branch ${{ github.ref_name }}"
python -m pip install -U pip
git clone --depth 1 -b master https://github.com/gem/oq-engine.git
python -m pip install -r oq-engine/requirements-py311-win64.txt
python -m pip install -e /oq-engine/
cd oq-engine
python -m pip install -e .
cd ..
python -m pip install -r requirements_win64.txt
python -m pip install -e .
#.\windows\install_oqmbtk.ps1 -mbtk_branch ${{ github.ref_name }}
# do not use powershell scripts but install with devel installation
#$MYPATH = $HOME + "\mbtk"
Expand All @@ -65,12 +70,10 @@ jobs:
dir env:
Write-Host "Print all pypip packages"
pip list
$MBTK = $HOME + "\mbtk"
Write-Host "MBTK Directory: $MBTK"
Set-Location -Path $MBTK
#$MBTK = $HOME + "\mbtk"
#Write-Host "MBTK Directory: $MBTK"
#Set-Location -Path $MBTK
$curDir = Get-Location
Write-Host "Current Working Directory: $curDir"
cd oq-mbtk\openquake
Write-Host "Install pytest and run tests"
pip install pytest==8.1.2
cd openquake
pytest -vs --color=yes --durations=10 cat ghm man mbt sub wkf smt

0 comments on commit c3574a1

Please sign in to comment.