Skip to content

feat: Now using function parameters #118

feat: Now using function parameters

feat: Now using function parameters #118

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Setup Python
run: uv python install ${{ matrix.python-version }}
- name: Run tests
run: |
export PYTHON_VERSION=${{ matrix.python-version }}
export TOX_ENV=`uv run tox --listenvs | grep "py${PYTHON_VERSION//./}-" | tr '\n' ','`
uv run --python ${{ matrix.python-version }} tox -e $TOX_ENV