Skip to content

feat(keys): vim-style Ctrl+w pane focus navigation (#108) #378

feat(keys): vim-style Ctrl+w pane focus navigation (#108)

feat(keys): vim-style Ctrl+w pane focus navigation (#108) #378

Workflow file for this run

name: CI
on:
push:
branches: [master, dev]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.14"
cache: pip
- run: pip install ruff==0.15.1
- run: ruff check src/ tests/
- run: ruff format --check src/ tests/
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: pip
- run: python -m venv .venv
- run: .venv/bin/pip install -e ".[dev]"
- run: .venv/bin/pyright src/ytm_player/
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -e ".[dev]"
# Install dbus-fast on ubuntu so the #106 platform guard has teeth:
# with it present, the guard test proves the forced-win32/darwin
# import never pulls it in (an un-gated regression would import it and
# fail). Only ubuntu — MPRIS is Linux-only, so that's the one runner
# where the extra is worth exercising.
- if: matrix.os == 'ubuntu-latest'
run: pip install "dbus-fast>=4.0.0"
- run: pytest --cov=ytm_player --cov-report=term-missing