File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ ruff :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : " 3.10"
18+
19+ - name : Install ruff
20+ run : pip install ruff
21+
22+ - name : Check formatting
23+ run : ruff format --check .
24+
25+ - name : Lint
26+ run : ruff check .
Original file line number Diff line number Diff line change 1+ name : Tests
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : " 3.10"
18+
19+ - name : Install dependencies
20+ run : pip install -e ".[dev]"
21+
22+ - name : Run tests
23+ run : pytest --cov=locksmith --cov-report=term-missing
You can’t perform that action at this time.
0 commit comments