diff --git a/.github/workflows/python-cqa.yaml b/.github/workflows/python-cqa.yaml index 9df1355..f534820 100644 --- a/.github/workflows/python-cqa.yaml +++ b/.github/workflows/python-cqa.yaml @@ -1,43 +1,49 @@ name: Python CQA - -on: [push, pull_request] - +'on': + - push + - pull_request jobs: test: - name: test py${{ matrix.python-version }} + name: 'test py${{ matrix.python-version }}' runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: + - '3.10' + - '3.11' + - '3.12' + - '3.13' + - '3.14' steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: | - python3 -m pip install ".[tests]" - - - name: Run tests - run: python3 -m pytest - + - uses: actions/checkout@v6 + with: + submodules: recursive + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: '${{ matrix.python-version }}' + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + enable-cache: true + - name: Install dependencies + run: uv sync --extra tests + - name: Run tests + run: uv run pytest lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - + - uses: actions/checkout@v6 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v6 with: python-version: 3.12 - + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + enable-cache: true - name: Install dependencies - run: python3 -m pip install ".[dev]" - + run: uv sync --extra dev - name: Check style - run: python3 -m ruff check && python3 -m ruff format --check + run: uv run ruff check && uv run ruff format --check diff --git a/pyproject.toml b/pyproject.toml index 812f86e..5309a84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,6 +20,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Scientific/Engineering :: Bio-Informatics", "Topic :: Scientific/Engineering :: Medical Science Apps.", ]