Update um.py #200
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-tinyDA | |
on: | |
push: | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:latest | |
services: | |
model: | |
image: linusseelinger/model-muq-beam: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 papermill umbridge tinyDA ipykernel | |
- | |
name: Build and run | |
run: | | |
. venv/bin/activate | |
papermill -k python3 --progress-bar clients/python/tinyDA-client.ipynb - > /dev/null |