From fdfa016028831bec273d3236d526b77d3c1f3671 Mon Sep 17 00:00:00 2001 From: Antonio Ettorre Date: Wed, 16 Oct 2024 09:54:03 +0200 Subject: [PATCH] not need venv --- .github/workflows/test_win64.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_win64.yaml b/.github/workflows/test_win64.yaml index 2aaac219..2057cfa7 100644 --- a/.github/workflows/test_win64.yaml +++ b/.github/workflows/test_win64.yaml @@ -39,10 +39,11 @@ jobs: $curDir = Get-Location Write-Host "Test python version" python -V - Write-Host "Create venv and install OQ form master and mbtk from branch ${{ github.ref_name }}" - python -m venv .\win_test - .\win_test\bin\Activate.ps1 - pip install -U pip + Write-Host "Install OQ form master and mbtk from branch ${{ github.ref_name }}" + python -m pip install -U pip + git clone -d 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/ #.\windows\install_oqmbtk.ps1 -mbtk_branch ${{ github.ref_name }} # do not use powershell scripts but install with devel installation #$MYPATH = $HOME + "\mbtk"