Skip to content
Merged
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- py310-all
- py311-all
- py312-all
- py313-all
- py314-all
Comment thread
gampnico marked this conversation as resolved.
Resolved
use-mpl:
- "--mpl --mpl-results-path=/tmp/salem-mpl-results"
include:
Expand All @@ -31,7 +33,7 @@ jobs:
shell: bash -leo pipefail {0}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
run: coveralls
- name: Upload pytest-mpl artifacts
if: "${{ failure() && matrix.use-mpl != '' }}"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: "pytest-mpl-results-${{ matrix.test-env }}"
path: /tmp/salem-mpl-results/
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.8"
dependencies = [
Expand Down
2 changes: 0 additions & 2 deletions salem/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,6 @@ def test_lookup_transform():
@requires_matplotlib
@requires_cartopy
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=10)
@pytest.mark.skip(reason='There is an unknown issue with cartopy')
def test_cartopy():

import cartopy
Expand Down Expand Up @@ -1022,7 +1021,6 @@ def test_cartopy():

@requires_cartopy
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=7)
@pytest.mark.skip(reason='There is an unknown issue with cartopy')
def test_cartopy_polar():

import cartopy
Expand Down
Loading