chore: bump apcore dependency to >=0.14.0 #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| test: | |
| name: Test on Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| # container: | |
| # image: python:${{ matrix.python-version }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| # Pin CI to a single, consistent Python version to reduce version-related | |
| # test flakiness. Use 3.12 for CI stability; expand matrix later if desired. | |
| python-version: ["3.12"] | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Install dependencies | |
| run: | | |
| uv sync --extra dev | |
| - name: Lint with Ruff | |
| run: | | |
| uv run ruff check src/ tests/ | |
| - name: Run tests | |
| run: | | |
| uv run pytest |