diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index a2a5c29..3548626 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -10,9 +10,21 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 + - name: Install uv + uses: astral-sh/setup-uv@v6 + + - name: Activate venv + run: uv venv + - name: Install dependencies run: | - python3 -m pip install -r requirements.txt + uv pip install -r requirements.txt - name: Attempt build - run: python3 -m cookiecutter --no-input python/ + run: uv run cookiecutter --no-input python/ + + - name: Attempt installation + run: uv sync --all-extras + working-directory: wagner_lab_project/ + env: + SETUPTOOLS_SCM_PRETEND_VERSION: 0.0.1 diff --git a/python/{{cookiecutter.project_slug}}/pyproject.toml b/python/{{cookiecutter.project_slug}}/pyproject.toml index 889bc9c..cbd77ce 100644 --- a/python/{{cookiecutter.project_slug}}/pyproject.toml +++ b/python/{{cookiecutter.project_slug}}/pyproject.toml @@ -17,7 +17,7 @@ classifiers = [ requires-python = ">=3.11" description = "{{ cookiecutter.description }}" license = "MIT" -license_files = ["LICENSE"] +license-files = ["LICENSE"] dependencies = [ {%- if cookiecutter.add_cli %} "click",