mirror of
https://github.com/ivuorinen/aeonview.git
synced 2026-03-14 06:58:46 +00:00
feat: migrate to uv-managed project (#10)
* Initial plan * feat: migrate to uv-managed project Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com> * fix: align Python version in pyproject.toml and CI setup-uv config Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
This commit is contained in:
14
.github/workflows/python-tests.yml
vendored
14
.github/workflows/python-tests.yml
vendored
@@ -19,23 +19,21 @@ jobs:
|
||||
# yamllint disable-line rule:line-length
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Set up Python
|
||||
- name: Install uv
|
||||
# yamllint disable-line rule:line-length
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v5.4.1
|
||||
with:
|
||||
python-version: "3.13.2"
|
||||
python-version-file: ".python-version"
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
run: uv sync --all-groups
|
||||
|
||||
- name: Run Ruff linting
|
||||
shell: bash
|
||||
run: ruff check .
|
||||
run: uv run ruff check .
|
||||
|
||||
- name: Run tests with coverage
|
||||
shell: bash
|
||||
run: |
|
||||
pytest --cov=aeonview --cov-report=term-missing
|
||||
uv run pytest --cov=aeonview --cov-report=term-missing
|
||||
|
||||
Reference in New Issue
Block a user