Skip to content

Commit 8270cc7

Browse files
committed
Debug Windows build
1 parent c61bbfa commit 8270cc7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ jobs:
102102
# Run the tests
103103
- name: Test with pytest
104104
shell: bash -l {0}
105-
run: make test PYTEST_EXTRA="-r P"
105+
run: |
106+
python pygmt/tests/test_image_debug.py
107+
make test PYTEST_EXTRA="-r P"
106108
107109
# Build the documentation
108110
- name: Build the documentation

pygmt/tests/test_image_debug.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import os
2+
import pygmt
3+
4+
TEST_IMG = os.path.join(os.path.dirname(__file__), "baseline", "test_logo.png")
5+
6+
fig = pygmt.Figure()
7+
fig.image(TEST_IMG, D="x0/0+w1i", F="+pthin,blue", V='d')
8+
fig.savefig("image.png")

0 commit comments

Comments
 (0)