Skip to content

Commit 4c33ec5

Browse files
authored
Merge pull request #1482 from UXARRAY/rajeeja/fix_linkcheck
Skip link-check on pull requests
2 parents 8c7aae7 + 341ef3a commit 4c33ec5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
python -m pytest test
6868
6969
link-check:
70+
if: github.event_name != 'pull_request'
7071
runs-on: ubuntu-latest
7172
defaults:
7273
run:
@@ -114,4 +115,5 @@ jobs:
114115
eval "$(micromamba shell hook --shell bash)"
115116
micromamba activate uxarray-docs
116117
cd docs
118+
echo 'nb_execution_mode = "off"' >> conf.py
117119
make linkcheck

test/test_plot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import pytest
55
import numpy as np
66

7+
import matplotlib
8+
matplotlib.use("Agg")
79
import matplotlib.pyplot as plt
810
import cartopy.crs as ccrs
911

0 commit comments

Comments
 (0)