when: - event: push branch: main steps: - name: lint-and-test image: debian commands: - pip install -r requirements/test.txt - ruff check src - python -m pytest