(fix): use src
packaging (properly)
#8
Workflow file for this run
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: Python Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install UV | |
uses: astral-sh/setup-uv@v3 | |
with: | |
version: "0.5.0" | |
enable-cache: true | |
cache-dependency-glob: | | |
pyproject.toml | |
- name: Install python deps | |
run: | | |
uv pip install --system -e ".[test]" | |
- name: Python Tests | |
run: pytest |