Skip to content

Title : Improved line length check in commit message. #66

Title : Improved line length check in commit message.

Title : Improved line length check in commit message. #66

Workflow file for this run

name: Unit Test
on:
pull_request:
push:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Install dependencies
shell: bash
run: pip install -r requirements.txt
- name: Run mypy
run: |
mypy ./check_commits.py
- name: Run black
run: |
black --check --diff ./check_commits.py
- name: Run unit tests
run: |
pytest tests/test_check_commits.py