Skip to content

add try and except to um.py #212

add try and except to um.py

add try and except to um.py #212

name: client-python-qmcpy
on:
push:
pull_request:
branches:
- 'main'
jobs:
test:
runs-on: ubuntu-latest
container: ubuntu:latest
services:
model:
image: linusseelinger/benchmark-muq-beam-propagation:latest
ports:
- 4243:4243
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Dependencies
run: |
apt update && DEBIAN_FRONTEND="noninteractive" apt install -y git python3-pip python3-venv
python3 -m venv venv
. venv/bin/activate
pip3 install umbridge qmcpy
-
name: Build and run
run: |
. venv/bin/activate
cd clients/python && python3 qmcpy-client.py http://model:4243