Skip to content

Add GH actions for tests and SA #4

Add GH actions for tests and SA

Add GH actions for tests and SA #4

Workflow file for this run

name: tests
on:
pull_request:
branches:
- 'main'
paths-ignore:
- '.gitignore'
- '*.md'
- 'docs/**'
- 'commit-check'
push:
branches:
- 'gh-actions'
jobs:
test:
runs-on: ubuntu-latest
name: tests
steps:
- uses: actions/checkout@main
with:
fetch-depth: 0
- name: Set up python
uses: actions/setup-python@master
with:
python-version: "3.11"
- name: Install python packages
run: |
pip install -U pip wheel
pip install -r requirements-dev.txt
- name: Run tests
run: pytest tests/ -v --cov ha_app/ --cov-it