Skip to content

Rebuild dist.

Rebuild dist. #37

Workflow file for this run

name: Tests
on:
push:
paths:
- 'src/visiomatic/server/**'
- 'tests/**'
pull_request:
paths:
- 'src/visiomatic/server/**'
- 'tests/**'
workflow_dispatch:
jobs:
#############################
# Build and test Python API #
#############################
test:
name: Test Python API
continue-on-error: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install .[test]
- name: Run tests and collect coverage
run: |
mypy -p visiomatic
pytest --cov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}