From 7b4c4eccbf3610c7b6140478347013198d0d46ca Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Mon, 8 Jul 2024 17:47:30 +0200 Subject: [PATCH] Update `test.yml` Actions workflow to use `pip` to build package --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8762e84..12bbf1e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,11 +56,11 @@ jobs: - name: Show Python build environment run: python -m sysconfig - name: Update pip - run: python -m pip install -U pip wheel setuptools + run: python -m pip install -U pip wheel meson-python ninja - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Build C extension - run: python setup.py build_ext --inplace --debug -j0 + run: python -m pip install --no-build-isolation --editable . -vv -C setup-args='-Dbuildtype=debug' - name: Install test requirements run: python -m pip install -r pyhmmer/tests/requirements.txt - name: Test with coverage @@ -160,11 +160,11 @@ jobs: - name: Show Python build environment run: arch -x86_64 python -m sysconfig - name: Update pip - run: python -m pip install -U pip wheel setuptools + run: python -m pip install -U pip wheel meson-python ninja - name: Install Python requirements run: python -m pip install -r .github/workflows/requirements.txt - name: Build C extension - run: arch -x86_64 python setup.py build_ext --inplace --debug + run: python -m pip install --no-build-isolation --editable . -vv -C setup-args='-Dbuildtype=debug' - name: Install test requirements run: python -m pip install -r pyhmmer/tests/requirements.txt if: matrix.python-impl == 'CPython'