Skip to content

Commit 04cb110

Browse files
Replace poetry-based dependency and version management with uv and bump-my-version
1 parent b89bb05 commit 04cb110

12 files changed

Lines changed: 2784 additions & 244 deletions

.github/workflows/build-pipeline.yml

Lines changed: 0 additions & 141 deletions
This file was deleted.

.github/workflows/pull-request-received.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ feature/**, issue/**, issues/** ]
99

1010
jobs:
11-
run_test:
12-
uses: ./.github/workflows/reusable_run_tests.yml
11+
run_tests:
12+
uses: ./.github/workflows/run_tests.yml
1313
secrets:
1414
codecov_token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release_created.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ on:
1212
required: true
1313
workflow_dispatch:
1414

15-
env:
16-
POETRY_VERSION: "2.1.3"
17-
1815
jobs:
1916
build_and_test:
2017
runs-on: ubuntu-latest
@@ -33,21 +30,20 @@ jobs:
3330
with:
3431
python-version: ${{ matrix.python-version }}
3532

36-
- name: Set up Poetry
37-
uses: abatilo/actions-poetry@v4.0.0
33+
- name: Install uv
34+
uses: astral-sh/setup-uv@v5
3835
with:
39-
poetry-version: ${{ env.POETRY_VERSION }}
36+
enable-cache: true
4037

41-
- name: Install ncompare
42-
run: poetry install
38+
- name: Install package
39+
run: uv sync --extra dev
4340

44-
- name: Lint
45-
run: |
46-
poetry run ruff check ncompare
41+
- name: Run linting
42+
run: uv run ruff check ncompare
4743

48-
- name: Run tests with coverage
44+
- name: Run tests and collect coverage
4945
run: |
50-
poetry run pytest --cov=ncompare --cov-report=xml:build/reports/coverage${{ matrix.python-version }}.xml
46+
uv run pytest --cov=ncompare --cov-report=xml:build/reports/coverage${{ matrix.python-version }}.xml
5147
5248
- name: Upload coverage reports to Codecov
5349
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)