octodns-netbox-dns/.github/workflows/check_code.yml

32 lines
572 B
YAML
Raw Normal View History

name: check code
on:
push:
2024-02-21 16:23:21 +01:00
branches: [main, master, dev]
pull_request:
2024-02-21 16:23:21 +01:00
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
2024-02-21 14:59:19 +01:00
2024-02-21 15:01:43 +01:00
- name: run tests
2024-02-21 14:59:19 +01:00
run: hatch run default:test