diff --git a/py3-cairo.yaml b/py3-cairo.yaml index 2cf41ddc5c0..71c625c2db5 100644 --- a/py3-cairo.yaml +++ b/py3-cairo.yaml @@ -79,6 +79,9 @@ subpackages: with: python: python${{range.key}} import: ${{vars.import}} + - runs: | + include="$(python${{range.key}} -c 'import ${{vars.import}}; print(${{vars.import}}.get_include())')" + test -f "$include/py3cairo.h" environment: contents: packages: @@ -118,6 +121,13 @@ subpackages: - py3-cairo pipeline: - uses: split/dev + test: + pipeline: + - uses: py/one-python + with: + content: | + include="$(python3 -c 'import ${{vars.import}}; print(${{vars.import}}.get_include())')" + test -f "$include/py3cairo.h" update: enabled: true