diff --git a/.github/workflows/client-python-emcee.yml b/.github/workflows/client-python-emcee.yml index 8cfff0c..e3fb38f 100644 --- a/.github/workflows/client-python-emcee.yml +++ b/.github/workflows/client-python-emcee.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip && pip3 install numpy arviz emcee umbridge + apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv + python3 -m venv venv + . venv/bin/activate + pip3 install numpy arviz emcee umbridge - name: Build and run run: | + . venv/bin/activate cd clients/python && python3 emcee-client.py http://model:4243 diff --git a/.github/workflows/client-python-example.yml b/.github/workflows/client-python-example.yml index dec6e6a..27472f2 100644 --- a/.github/workflows/client-python-example.yml +++ b/.github/workflows/client-python-example.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip && pip3 install umbridge + 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 diff --git a/.github/workflows/client-python-pymc.yml b/.github/workflows/client-python-pymc.yml index 1059ffc..a471c2b 100644 --- a/.github/workflows/client-python-pymc.yml +++ b/.github/workflows/client-python-pymc.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip && pip3 install numpy arviz pymc umbridge + apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv + python3 -m venv venv + . venv/bin/activate + pip3 install numpy arviz pymc umbridge - name: Build and run run: | + . venv/bin/activate cd clients/python && python3 pymc-client.py http://model:4243 diff --git a/.github/workflows/client-python-qmcpy.yml b/.github/workflows/client-python-qmcpy.yml index 25f94cd..4ad4487 100644 --- a/.github/workflows/client-python-qmcpy.yml +++ b/.github/workflows/client-python-qmcpy.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y git python3-pip && pip3 install umbridge qmcpy + 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 diff --git a/.github/workflows/client-python-raw.yml b/.github/workflows/client-python-raw.yml index 9e8fc84..220b814 100644 --- a/.github/workflows/client-python-raw.yml +++ b/.github/workflows/client-python-raw.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip && pip3 install umbridge + 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 raw-client.py http://model:4242 diff --git a/.github/workflows/client-python-tinyDA.yml b/.github/workflows/client-python-tinyDA.yml index e7160b1..a7c7123 100644 --- a/.github/workflows/client-python-tinyDA.yml +++ b/.github/workflows/client-python-tinyDA.yml @@ -25,8 +25,12 @@ jobs: - name: Dependencies run: | - apt update && DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip && pip3 install papermill umbridge tinyDA ipykernel + 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