From 070719327950d5ae28afcbbd22097b08a835fdf5 Mon Sep 17 00:00:00 2001 From: Tamas Nepusz Date: Sun, 8 Oct 2023 19:14:41 +0200 Subject: [PATCH] ci: fix sanitizers build --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b896e5ea2..45d0b5193 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -335,6 +335,10 @@ jobs: with: python-version: '3.12' + - name: Install test dependencies + run: | + pip install --prefer-binary pytest pytest-timeout setuptools + - name: Build C core env: IGRAPH_USE_SANITIZERS: 1 @@ -348,10 +352,6 @@ jobs: # NOTE: install calls "build" first python setup.py install - - name: Install test dependencies - run: | - pip install --prefer-binary pytest pytest-timeout - # Only pytest, and nothing else should be run in this section due to the presence of LD_PRELOAD. # The ASan/UBSan library versions need to be updated when switching to a newer Ubuntu/GCC. # LD_PRELOAD needs to be specified in the "run" section to ensure that we