Skip to content

Feature/pipeline

Feature/pipeline #2

Workflow file for this run

---
name: Lint
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python linting tools
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install --only=dev
- name: Format
run: |
poetry run black zivid_nova tests --check
- name: Sort
run: |
poetry run isort zivid_nova --check-only --diff
- name: Test
run: |
tox