2025-02-09 17:41:57 +01:00
|
|
|
name: litecli
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2025-02-09 17:54:48 +01:00
|
|
|
- 'AUTHORS'
|
2025-02-09 17:41:57 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2025-02-09 17:56:45 +01:00
|
|
|
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
2025-02-09 17:41:57 +01:00
|
|
|
|
|
|
|
steps:
|
2025-02-09 17:54:48 +01:00
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: astral-sh/setup-uv@v1
|
|
|
|
with:
|
|
|
|
version: "latest"
|
2025-02-09 17:41:57 +01:00
|
|
|
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
2025-02-09 17:54:48 +01:00
|
|
|
uses: actions/setup-python@v5
|
2025-02-09 17:41:57 +01:00
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
|
2025-02-09 17:54:48 +01:00
|
|
|
- name: Install dependencies
|
|
|
|
run: uv sync --all-extras -p ${{ matrix.python-version }}
|
2025-02-09 17:41:57 +01:00
|
|
|
|
|
|
|
- name: Run unit tests
|
2025-02-09 17:54:48 +01:00
|
|
|
run: uv run tox -e py${{ matrix.python-version }}
|
|
|
|
|
|
|
|
- name: Run Style Checks
|
|
|
|
run: uv run tox -e style
|