Skip to content

Commit 2502a6c

Browse files
committed
Fix Python CI tools
1 parent e9e0941 commit 2502a6c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,29 @@ jobs:
205205
if: runner.os == 'Linux' && matrix.python-version == '3.14'
206206
run: just pytest-slow
207207

208+
- name: Install integrity check tools
209+
run: |
210+
if command -v rg >/dev/null 2>&1; then
211+
exit 0
212+
fi
213+
214+
case "$RUNNER_OS" in
215+
Linux)
216+
sudo apt-get update
217+
sudo apt-get install -y ripgrep
218+
;;
219+
macOS)
220+
HOMEBREW_NO_AUTO_UPDATE=1 brew install ripgrep
221+
;;
222+
Windows)
223+
cargo install --locked --version 14.1.1 ripgrep
224+
;;
225+
*)
226+
echo "Unsupported runner OS for ripgrep install: $RUNNER_OS" >&2
227+
exit 1
228+
;;
229+
esac
230+
208231
- name: Run linting
209232
run: just lint check
210233

0 commit comments

Comments
 (0)