mirror of
https://git.zavage.net/Zavage-Software/smileyface.git
synced 2026-06-25 18:12:48 -06:00
ci: add Gitea Actions Python version matrix
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e91c7344d8
commit
d1420dccda
30
.gitea/workflows/test.yml
Normal file
30
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,30 @@
|
||||
name: tests
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v5
|
||||
|
||||
- name: Install Python ${{ matrix.python-version }}
|
||||
run: uv python install ${{ matrix.python-version }}
|
||||
|
||||
- name: Create venv
|
||||
run: uv venv --python ${{ matrix.python-version }}
|
||||
|
||||
- name: Install project and pytest
|
||||
run: uv pip install . pytest
|
||||
|
||||
- name: Run smoke tests
|
||||
run: uv run pytest -v
|
||||
Loading…
Reference in New Issue
Block a user