Skip to content

Commit c1b69b1

Browse files
authored
Merge pull request #25 from runcycles/claude/analyze-codebase-metrics-9Uqs6
Refactor CI workflow to use shared workflow from .github repository
2 parents 54ec818 + fa75c3b commit c1b69b1

1 file changed

Lines changed: 4 additions & 29 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,7 @@ on:
77
branches: [main]
88

99
jobs:
10-
lint-and-test:
11-
name: Lint & Test (Python ${{ matrix.python-version }})
12-
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
python-version: ["3.10", "3.12"]
16-
17-
steps:
18-
- name: Check out source
19-
uses: actions/checkout@v4
20-
21-
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v5
23-
with:
24-
python-version: ${{ matrix.python-version }}
25-
26-
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install -e ".[dev]"
30-
31-
- name: Lint with ruff
32-
run: ruff check .
33-
34-
- name: Type check with mypy
35-
run: mypy runcycles
36-
37-
- name: Run tests with coverage
38-
run: pytest --cov
10+
ci:
11+
uses: runcycles/.github/.github/workflows/ci-python.yml@main
12+
with:
13+
mypy-target: runcycles

0 commit comments

Comments
 (0)