Skip to content

Commit ef0099e

Browse files
authored
Re-enable Windows builds (#518)
Skip test_image on Windows and re-enable Windows CI jobs.
1 parent 6df6214 commit ef0099e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci_tests.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
python-version: [3.6, 3.7, 3.8]
46-
#os: [ubuntu-latest, macOS-latest, windows-latest]
47-
os: [ubuntu-latest, macOS-latest]
46+
os: [ubuntu-latest, macOS-latest, windows-latest]
4847
# environmental variables used in coverage
4948
env:
5049
OS: ${{ matrix.os }}

pygmt/tests/test_image.py

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Tests image.
33
"""
44
import os
5+
import sys
56

67
import pytest
78

@@ -11,6 +12,7 @@
1112
TEST_IMG = os.path.join(os.path.dirname(__file__), "baseline", "test_logo.png")
1213

1314

15+
@pytest.mark.skipif(sys.platform == "win32", reason="crashes on Windows")
1416
@pytest.mark.mpl_image_compare
1517
def test_image():
1618
"Place images on map"

0 commit comments

Comments
 (0)