octodns-netbox-dns/.gitea/workflows/check_code.yml
Ivan Schaller 65723753f6
Some checks failed
check code / check-code (push) Has been cancelled
update ci ciles
Signed-off-by: Ivan Schaller <ivan@schaller.sh>
2024-07-17 20:35:11 +02:00

31 lines
572 B
YAML

name: check code
on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master, dev]
jobs:
check-code:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: install hatch
run: pip install -U hatch
- name: test codestyle
run: hatch run lint:style
- name: test typing
run: hatch run lint:typing
- name: run tests
run: hatch run default:test