HPC: Start one model instance per call, avoid potenitally multiple se… #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: client-python-qmcpy | |
on: | |
push: | |
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 && pip3 install umbridge qmcpy | |
- | |
name: Build and run | |
run: | | |
cd clients/python && python3 qmcpy-client.py http://model:4243 |