Skip to content

Adds initial support for Dyson 360 Vis Nav #57

Adds initial support for Dyson 360 Vis Nav

Adds initial support for Dyson 360 Vis Nav #57

Workflow file for this run

name: Test
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Run pytest
run:
pytest --cov libdyson --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_test.txt
- name: Black
run: black --safe libdyson tests
- name: yamllint
run: yamllint .