All checks were successful
Tests / test (3.8) (pull_request) Successful in 18s
Tests / test (3.9) (pull_request) Successful in 15s
Tests / test (3.10) (pull_request) Successful in 15s
Tests / test (3.11) (pull_request) Successful in 15s
Tests / test (3.12) (pull_request) Successful in 16s
Tests / test (3.13) (pull_request) Successful in 16s
37 lines
839 B
YAML
37 lines
839 B
YAML
name: Tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: https://git.hogertz.eu/actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
|
|
|
|
- name: Set up Python
|
|
uses: https://git.hogertz.eu/actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install uv
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv sync --extra dev
|
|
|
|
- name: Run tests
|
|
run: |
|
|
uv run pytest
|