Skip to content

Windows Test

Windows Test #519

Workflow file for this run

name: Installation and test on Windows
on:
push:
branches:
- 'ae-310action'
schedule:
- cron: "0 4 * * *"
workflow_dispatch:
jobs:
test:
name: Windows Installation
runs-on: windows-latest
steps:
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- uses: actions/checkout@v3
- name: Run scripts to install on windows
run: |
Write-Host "Git branch for Run action "${Env:GIT_BRANCH}
#
$curDir = Get-Location
Write-Host "Current Working Directory: $curDir"
Get-ChildItem -Path .\windows –recurse
.\windows\install_oqmbtk.ps1
cd $env:USERPROFILE
cd mbtk
dir
cd oq-mbtk\openquake
pytest -vsx cat ghm man mbt sub wkf smt