This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
Files
unifi-cam-proxy/.github/workflows/ci.yml
Liam e8f72ea949
Some checks failed
📚 Deploy Documentation / deploy (push) Has been cancelled
bob
2024-03-02 11:37:04 +00:00

40 lines
753 B
YAML

name: Test
on:
push:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
pull_request:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: pip install -e .[test]
- name: Lint with pre-commit
run: pre-commit run --all-files