Skip to content

Commit 155e51a

Browse files
committed
exp: remove more code
1 parent e23dc4e commit 155e51a

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

.github/workflows/build-test.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ defaults:
1111
run:
1212
shell: bash
1313

14-
env:
15-
HOMEBREW_NO_AUTO_UPDATE: 1
16-
1714
jobs:
1815

1916
build:
@@ -115,11 +112,15 @@ jobs:
115112
run: |
116113
source .venv/${{matrix.venv-loc}}/activate
117114
pytest yt --color=yes
115+
env:
116+
MPLCONFIGDIR: tests
118117
- name: Run Tests (nose)
119118
if: matrix.test-runner == 'nose'
120119
run: |
121120
source .venv/${{matrix.venv-loc}}/activate
122121
cat nose_ignores.txt | xargs python -m nose -c nose_unit.cfg --traverse-namespace
122+
env:
123+
MPLCONFIGDIR: tests
123124

124125
image-tests:
125126
name: Image tests
@@ -157,13 +158,17 @@ jobs:
157158
--mpl-results-path=pytest_mpl_results \
158159
--mpl-baseline-path=tests/pytest_mpl_baseline \
159160
-rxXs # show extra info on xfailed, xpassed, and skipped tests
161+
env:
162+
MPLCONFIGDIR: tests
160163

161164
- name: Generate new image baseline
162165
if: failure()
163166
run: |
164167
pytest yt --color=yes --mpl -m mpl_image_compare \
165168
--mpl-generate-path=pytest_mpl_new_baseline \
166169
--last-failed
170+
env:
171+
MPLCONFIGDIR: tests
167172

168173
# always attempt to upload artifacts, even
169174
# (and especially) in case of failure.

tests/ci_install.sh

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
set -x # Show which command is being run
22

3-
# Sets default backend to Agg
4-
cp tests/matplotlibrc .
5-
6-
# Step 1: pre-install required packages
7-
if [[ ${dependencies} == "full" || ${dependencies} == "cartopy" ]]; then
8-
case ${RUNNER_OS} in
9-
linux|Linux)
10-
sudo apt-get -qqy update
11-
sudo apt-get -qqy install \
12-
libhdf5-serial-dev \
13-
libnetcdf-dev \
14-
libopenmpi-dev \
15-
libfuse2
16-
;;
17-
esac
18-
fi
19-
203
# Step 2: install deps and yt
214
# installing in editable mode so this script may be used locally by developers
225
# but the primary intention is to embed this script in CI jobs

0 commit comments

Comments
 (0)