Skip to content

Commit 7673113

Browse files
committed
Refactor CI and CD workflows to replace 'make' commands with 'uv' commands for installations and checks
1 parent 251e4d0 commit 7673113

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ jobs:
134134
135135
- name: Install dependencies
136136
id: install-dependencies
137-
run: make install-all
137+
run: uv sync --no-cache --all-groups
138138

139139
- name: Run checks
140140
id: run-checks
141-
run: make check
141+
run: uv run check
142142

143143
- name: Copy coverage report
144144
id: copy-coverage-report
@@ -194,7 +194,7 @@ jobs:
194194
fi
195195
196196
- name: Install dependencies
197-
run: make install
197+
run: uv sync --no-cache
198198

199199
- name: Setup Git
200200
id: setup-git

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: CI
22

33
on: [push, pull_request]
44

5+
env:
6+
UV_LINK_MODE: copy
7+
UV_NATIVE_TLS: true
8+
UV_NO_SYNC: true
9+
510
jobs:
611

712
debug:
@@ -103,10 +108,10 @@ jobs:
103108
python-version-file: "pyproject.toml"
104109

105110
- name: Install dependencies
106-
run: make install-all
111+
run: uv sync --no-cache --all-groups
107112

108113
- name: Run checks
109-
run: make check
114+
run: uv run check
110115

111116
ci:
112117

@@ -135,7 +140,7 @@ jobs:
135140
python-version: ${{ matrix.python-version }}
136141

137142
- name: Install dependencies
138-
run: make install-all
143+
run: uv sync --no-cache --all-groups
139144

140145
- name: Run checks
141-
run: make check
146+
run: uv run check

0 commit comments

Comments
 (0)