Skip to content

Commit

Permalink
py3-cairo: Add get_include() tests
Browse files Browse the repository at this point in the history
Signed-off-by: dann frazier <[email protected]>
  • Loading branch information
dannf committed Nov 17, 2024
1 parent 51ba04b commit 8b51fbb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions py3-cairo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ 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:
Expand Down Expand Up @@ -118,6 +122,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
Expand Down

0 comments on commit 8b51fbb

Please sign in to comment.