Skip to content

Update README.md

Update README.md #19

Workflow file for this run

name: Python Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.7 python3.7-venv python3.7-dev
python3.7 -m venv venv
source venv/bin/activate
python -m pip install --upgrade pip
- name: Install dependencies
run: |
source venv/bin/activate
pip install -r requirements.txt || true
pip install numpy opencv-python-headless pyrealsense2
- name: Run tests
run: |
source venv/bin/activate
python -m unittest discover -s Tests -p "test_*.py"