Skip to content

chore(aur): bump PKGBUILD pkgver to 2.0.0 #416

chore(aur): bump PKGBUILD pkgver to 2.0.0

chore(aur): bump PKGBUILD pkgver to 2.0.0 #416

Workflow file for this run

name: CI
on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- 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@v7
- 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@v7
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install -e ".[dev]"
# dbus-fast (a Linux core dep) installs with .[dev] on ubuntu, giving the
# #106 platform-guard test teeth: it proves the forced-win32/darwin import
# never pulls dbus-fast in even when it's present. macOS/Windows runners
# correctly never install it (sys_platform marker).
- run: pytest --cov=ytm_player --cov-report=term-missing