Skip to content

Commit

Permalink
feat: switch build system to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
psadi committed Dec 13, 2024
1 parent a94a83d commit 91859a4
Show file tree
Hide file tree
Showing 4 changed files with 1,060 additions and 1,220 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,16 @@ jobs:
restore-keys: |
${{ runner.os }}-tox-
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Prepare Environment, Sync Dependencies and Run Tox
run: |
mkdir -p ~/.config/bb
cp config.ini ~/.config/bb
pdm fix
pdm sync
pdm run tox
uv sync
uv tool install tox --with tox-uv
tox
- name: SonarCloud Scan
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down Expand Up @@ -121,7 +119,7 @@ jobs:

- name: Run build and generate artifacts
run: |
pdm build
uv build
- uses: actions/upload-artifact@v4
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down
Loading

0 comments on commit 91859a4

Please sign in to comment.