Skip to content

Commit cb1a6ca

Browse files
committed
Update asan test to use uv
1 parent d537d78 commit cb1a6ca

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/address-sanitizer.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,18 @@ jobs:
2323
submodules: true
2424
persist-credentials: false
2525

26+
- name: Install the latest version of uv
27+
uses: astral-sh/setup-uv@v6
28+
2629
- name: Install packages
2730
run: |
2831
sudo apt-get update
2932
sudo apt-get -y install libasan6
3033
31-
- name: Set up Python
32-
uses: actions/setup-python@v5
33-
with:
34-
python-version: 3.13
35-
36-
- name: Install dependencies
37-
run: |
38-
python -m pip install --upgrade pip
39-
pip install pytest setuptools wheel
40-
41-
- name: Install
42-
run: pip install .
43-
env:
44-
CFLAGS: "-Werror -Wall -Wextra"
45-
MAXMINDDB_REQUIRE_EXTENSION: 1
46-
4734
- name: Test
48-
run: pytest
35+
run: uv run pytest
4936
env:
37+
CFLAGS: "-Werror -Wall -Wextra"
5038
LD_PRELOAD: libasan.so.6
39+
MAXMINDDB_REQUIRE_EXTENSION: 1
5140
MM_FORCE_EXT_TESTS: 1

0 commit comments

Comments
 (0)