Update version #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.11', '3.12', '3.12'] | |
timeout-minutes: 10 | |
steps: | |
- name: Install xvfb | |
run: sudo apt-get install -y xvfb | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- name: Create venv | |
run: uv venv | |
- name: Install tk_tools | |
run: uv pip install -e . | |
- name: Execute Tests | |
run: xvfb-run -a uv run pytest -v tests/ --cov=tk_tools |