Files
aprsd/.forgejo/workflows/python.yml
T

23 lines
582 B
YAML

name: TOX Test
on: [push, pull_request]
jobs:
tox:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Test with tox
run: |
$HOME/.local/bin/uv tool install tox --with tox-uv
$HOME/.local/bin/tox -e py$(echo ${{ matrix.python-version }} | tr -d .)