Skip to content

Commit 0f0645b

Browse files
committed
combine ci workflows
1 parent be4fdc3 commit 0f0645b

File tree

2 files changed

+7
-130
lines changed

2 files changed

+7
-130
lines changed

.github/workflows/ci-docs-tests.yml

Lines changed: 0 additions & 129 deletions
This file was deleted.

.github/workflows/ci-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
matrix:
3737
os: ["ubuntu-latest"]
3838
python-version: ["3.8"]
39-
session: ["tests"]
39+
session: ["tests", "doctest", "gallery", "linkcheck"]
4040

4141
env:
4242
IRIS_TEST_DATA_VERSION: "2.13"
@@ -108,13 +108,19 @@ jobs:
108108
- name: "iris configure"
109109
env:
110110
SITE_CFG: lib/iris/etc/site.cfg
111+
MPL_RC: ${HOME}/.config/matplotlib/matplotlibrc
111112
run: |
112113
mkdir -p $(dirname ${SITE_CFG})
113114
echo ${SITE_CFG}
114115
echo "[Resources]" >> ${SITE_CFG}
115116
echo "test_data_dir = ${HOME}/iris-test-data/test_data" >> ${SITE_CFG}
116117
echo "doc_dir = ${GITHUB_WORKSPACE}/docs" >> ${SITE_CFG}
117118
cat ${SITE_CFG}
119+
mkdir -p $(dirname ${MPL_RC})
120+
echo ${MPL_RC}
121+
echo "backend : agg" >> ${MPL_RC}
122+
echo "image.cmap : viridis" >> ${MPL_RC}
123+
cat ${MPL_RC}
118124
119125
- name: "iris ${{ matrix.session }}"
120126
env:

0 commit comments

Comments
 (0)