Skip to content

fix float precision issue on hm310t driver #241

fix float precision issue on hm310t driver

fix float precision issue on hm310t driver #241

Workflow file for this run

name: Basic Tests
on: [push]
jobs:
Tests:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
# ---
- run: apt-get update
- run: apt-get install -y mosquitto git
- run: apt-get install -y python3 python3-pip
# ---
- run: pip install -r ./tests/requirements.txt
- run: pip install -r ./platform/requirements.txt
- run: pip install ./client/
# ---
- run: pzadmin init test_hunt_directory
# ---
# - run: python3 ./platform/deploy/pza-py-platform-run.py
# env:
# HUNT: 1
# ---
- run: mosquitto -d
# ---
- name: Start the platform
run: >
python3 ./platform/panduza_platform/__main__.py ./tests/pza_platform/tree.json &
sleep 1
- name: Export test env variables
uses: cardinalby/export-env-action@v1
with:
envFile: './tests/envs/fake_bench.env'
# ---
- name: Execute tests
working-directory: tests
run: robot virtual_tests/*
# ---
- name: Debug
run: ls -la .
# ---
- uses: actions/upload-artifact@v3
if: always()
with:
name: tests-report
path: tests/
# ---
- run: echo "🎉 Basic Tests finished !"