diff --git a/.github/workflows/requirements.txt b/.github/workflows/requirements.txt index 915b278..a0ca7da 100644 --- a/.github/workflows/requirements.txt +++ b/.github/workflows/requirements.txt @@ -1,4 +1,5 @@ cython ~=3.0 wheel auditwheel <5.2 -setuptools >=46.4.0 +meson-python +ninja diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bb4383..4c4bbd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,7 @@ jobs: - name: Install test requirements run: python -m pip install -r pyrodigal/tests/requirements.txt - name: Build C extension in debug mode - run: python setup.py build_ext --inplace --debug + run: python -m pip install --no-build-isolation --editable . - name: Test without coverage run: python -m unittest discover -vv @@ -130,7 +130,7 @@ jobs: - name: Install test requirements run: python -m pip install -r pyrodigal/tests/requirements.txt - name: Build C extension in debug mode - run: python setup.py build_ext --inplace --debug --plat-name macos-x86_64 + run: python -m pip install --no-build-isolation --editable . - name: Test without coverage run: python -m unittest discover -vv @@ -193,7 +193,7 @@ jobs: - name: Install test requirements run: python -m pip install -r pyrodigal/tests/requirements.txt - name: Build C extension - run: python setup.py build_ext --inplace + run: python -m pip install --no-build-isolation --editable . - name: Test without coverage run: python -m unittest discover -vv @@ -230,7 +230,7 @@ jobs: - name: Build Prodigal with optimizations run: python setup.py build_clib - name: Build Cython extension in debug mode - run: python setup.py build_ext --inplace --debug + run: python -m pip install --no-build-isolation --editable . --config-settings setup-args="-Dbuildtype=debug" - name: Test with coverage run: python -m coverage run -m unittest discover -vv - name: Report coverage