mirror of
https://github.com/craigerl/aprsd.git
synced 2026-08-30 15:55:57 -04:00
23 lines
582 B
YAML
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 .)
|