Skip to content

Commit

Permalink
Merge pull request #379 from lazka/ci-no-build-iso
Browse files Browse the repository at this point in the history
CI: disable build isolation and bump meson-python
  • Loading branch information
lazka committed Sep 3, 2024
2 parents 892e2ba + 5a3a36b commit 962870c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
export CFLAGS="-Werror -coverage"
export PYTHONDEVMODE=1
poetry run pip install -e .
poetry run pip install --no-build-isolation -e .
poetry run coverage run --branch -m pytest
poetry run coverage xml -i
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
run: |
export CFLAGS="-Werror -coverage"
export PYTHONDEVMODE=1
poetry run pip install -e .
poetry run pip install --no-build-isolation -e .
poetry run coverage run --branch -m pytest
poetry run coverage xml -i
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
CFLAGS: "-DCAIRO_WIN32_STATIC_BUILD=1"
PYTHONDEVMODE: 1
run: |
poetry run pip install -e .
poetry run pip install --no-build-isolation -e .
poetry run coverage run --branch -m pytest
if (-not $?) { exit 1 }
poetry run coverage xml -i
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
run: |
export CFLAGS="-Werror -coverage"
export PYTHONDEVMODE=1
poetry run pip install -e .
poetry run pip install --no-build-isolation -e .
poetry run coverage run --branch -m pytest
poetry run coverage xml -i
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ sphinx-rtd-theme = "^2.0.0"
coverage = {extras = ["toml"], version = "^7.2.3"}
sphinx-autobuild = "^2021.3.14"
setuptools = "^69.0.3"
meson-python = ">= 0.16.0"

[tool.coverage.run]
include = [
Expand Down Expand Up @@ -66,4 +67,4 @@ setup = ["-Dwheel=true", "-Dtests=false"]

[build-system]
build-backend = 'mesonpy'
requires = ['meson-python >= 0.12.1']
requires = ['meson-python >= 0.16.0']

0 comments on commit 962870c

Please sign in to comment.