Skip to content

Add xfoil example

Add xfoil example #214

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