Skip to content

Commit 8309512

Browse files
tien226anhCopilot
andcommitted
feat: consolidate linting workflows by replacing pylint.yml with a unified linting_and_test.yml
Co-authored-by: Copilot <copilot@github.com>
1 parent 6e8f744 commit 8309512

2 files changed

Lines changed: 29 additions & 23 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Lint & Test
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: ["3.12", "3.14"]
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Install uv
15+
uses: astral-sh/setup-uv@v5
16+
with:
17+
python-version: ${{ matrix.python-version }}
18+
19+
- name: Install dependencies
20+
run: uv sync --extra dev
21+
22+
- name: Lint with ruff
23+
run: uv run ruff check src/ tests/
24+
25+
- name: Typecheck with mypy
26+
run: uv run mypy src/
27+
28+
- name: Run tests
29+
run: uv run pytest tests/ -v

.github/workflows/pylint.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)