Skip to content

📝 Update distribution name in README.md #9

📝 Update distribution name in README.md

📝 Update distribution name in README.md #9

Workflow file for this run

name: Running Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
workflow_call:
workflow_dispatch:
jobs:
pre_commit:
name: 🧹 Linting
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 📂 Cache pre-commit paths
uses: actions/cache@v3
with:
path: |
~/.cache/pip
$RUNNER_TOOL_CACHE/Python/*
~/.cache/pre-commit
key: >-
os-${{ runner.os }}-
pyv-${{ hashFiles('.python-version') }}-
config-${{ hashFiles('.pre-commit-config.yaml') }}
- name: 🧰 Install uv
uses: astral-sh/setup-uv@v3
- name: 🏃 Run Pre-commit
run: uvx --with pre-commit-uv pre-commit run --all-files
tests:
name: 🧪 Tests
needs: [ pre_commit ]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🧰 Install uv
uses: astral-sh/setup-uv@v3
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: 🧪 Run tests with tox
run: uvx --with tox-gh-actions --with "tox-uv>=1" tox run