diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93f1da9..2b54628 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,32 +7,7 @@ on: branches: [main] jobs: - lint-and-test: - name: Lint & Test (Python ${{ matrix.python-version }}) - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10", "3.12"] - - steps: - - name: Check out source - uses: actions/checkout@v4 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -e ".[dev]" - - - name: Lint with ruff - run: ruff check . - - - name: Type check with mypy - run: mypy runcycles - - - name: Run tests with coverage - run: pytest --cov + ci: + uses: runcycles/.github/.github/workflows/ci-python.yml@main + with: + mypy-target: runcycles