Skip to content

add try and except to um.py #254

add try and except to um.py

add try and except to um.py #254

name: client-R-cran-package
on:
push:
pull_request:
branches:
- 'main'
jobs:
test:
runs-on: ubuntu-latest
container: ubuntu:latest
services:
model:
image: linusseelinger/benchmark-analytic-banana:latest
ports:
- 4243:4243
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: APT Dependencies
run: |
apt update && DEBIAN_FRONTEND="noninteractive" apt install -y r-base libcurl4-gnutls-dev libxml2-dev libfontconfig1-dev libfreetype6 libharfbuzz-dev libfribidi-dev libtiff-dev libssl-dev
-
name: R Dependencies
run: |
R -e 'install.packages("umbridge")'
-
name: Run client
run: |
cd clients/R && Rscript client.R http://model:4243