20 lines
420 B
YAML
20 lines
420 B
YAML
name: ci
|
|
on:
|
|
push:
|
|
pull_request:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
cache: pip
|
|
- run: pip install -e '.[dev]'
|
|
- run: ruff format --check .
|
|
- run: ruff check .
|
|
- run: mypy src
|
|
- run: pytest -q
|
|
- run: docker build -t endpoint-monitor .
|