Skip to content

Python sdk fixes (#43) #17

Python sdk fixes (#43)

Python sdk fixes (#43) #17

Workflow file for this run

name: RunChecks
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get -y install python3-apt openjdk-11-jre-headless
python -m pip install --upgrade pip
pip install -r gateway/requirements.txt
pip install pylint
- name: Analysing python api with pylint
run: |
cd gateway
find . -type f -name \*.py -print | egrep -v '(proto|silabs)'| xargs pylint -dC0103,E1101,E0401,E1136,W0703,R0801,R0902,R0903,R0913,R0912,R0914
- name: Attempting python install
run: |
cd python-sdk
pip install .
echo 'import tiedie' | python
- name: Java test
run: |
cd java-sdk/sdk
./gradlew test