35 lines
766 B
YAML
35 lines
766 B
YAML
name: litecli
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**.md'
|
|
- 'AUTHORS'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: astral-sh/setup-uv@v1
|
|
with:
|
|
version: "latest"
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --all-extras -p ${{ matrix.python-version }}
|
|
|
|
- name: Run unit tests
|
|
run: uv run tox -e py${{ matrix.python-version }}
|
|
|
|
- name: Run Style Checks
|
|
run: uv run tox -e style
|