Skip to content

Commit b402bf0

Browse files
committed
FIX: One more [circle front] [skip github] [skip azp]
1 parent f8cd655 commit b402bf0

File tree

1 file changed

+11
-22
lines changed

1 file changed

+11
-22
lines changed

.circleci/config.yml

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
echo "export PATH=~/.local/bin/:${MNE_ROOT}/bin:$PATH" >> $BASH_ENV
3636
echo "BASH_ENV:"
3737
cat $BASH_ENV
38+
mkdir -p ~/mne_data
39+
touch pattern.txt;
3840
- run:
3941
name: check neuromag2ft
4042
command: |
@@ -84,16 +86,17 @@ jobs:
8486
command: |
8587
python -m pip install --user --upgrade --progress-bar off pip setuptools
8688
python -m pip install --user --upgrade --progress-bar off --pre sphinx
89+
python -m pip install --user --upgrade --progress-bar off -r requirements.txt -r requirements_testing.txt -r requirements_doc.txt
8790
python -m pip install --user --progress-bar off https://github.com/pyvista/pyvista/zipball/master
8891
python -m pip install --user --progress-bar off https://github.com/pyvista/pyvistaqt/zipball/master
89-
python -m pip install --user --upgrade --progress-bar off -r requirements.txt -r requirements_testing.txt -r requirements_doc.txt
9092
python -m pip uninstall -yq pysurfer mayavi
9193
python -m pip install --user -e .
9294
9395
- save_cache:
9496
key: pip-cache
9597
paths:
9698
- ~/.cache/pip
99+
- ~/.local/lib/python3.8
97100

98101
- run:
99102
name: Check PyQt5
@@ -111,13 +114,6 @@ jobs:
111114
python -c "import mne; mne.set_config('MNE_LOGGING_LEVEL', 'info')"
112115
python -c "import mne; level = mne.get_config('MNE_LOGGING_LEVEL'); assert level.lower() == 'info', repr(level)"
113116
114-
- run:
115-
name: Set up MNE and the build
116-
command: |
117-
pip install -ve .
118-
mkdir -p ~/mne_data
119-
touch pattern.txt;
120-
121117
# Figure out if we should run a full, pattern, or noplot version
122118
- restore_cache:
123119
keys:
@@ -219,15 +215,11 @@ jobs:
219215
name: Reduce artifact upload time
220216
command: |
221217
if grep -q html_dev-pattern-memory build.txt || grep -q html_dev-noplot build.txt; then
222-
tar czf doc/_build/html/_downloads.tgz doc/_build/html/_downloads
223-
rm -Rf doc/_build/html/_downloads
224-
rm -f doc/auto_*/*/*.pickle
225-
rm -f doc/auto_*/*/*.codeobj
226-
rm -f doc/auto_*/*/*.md5
227-
rm -f doc/auto_*/*/*.py
228-
rm -f doc/auto_*/*/*.ipynb
229-
rm -f doc/generated/*.examples
218+
zip -rm doc/_build/html/_downloads.zip doc/_build/html/_downloads
230219
fi
220+
for NAME in generated auto_tutorials auto_examples; do
221+
zip -rm doc/${NAME}.zip doc/${NAME}
222+
done
231223
232224
# Save the JUnit file
233225
- store_test_results:
@@ -237,14 +229,11 @@ jobs:
237229
destination: test-results
238230
# Save the SG RST
239231
- store_artifacts:
240-
path: doc/auto_examples
241-
destination: auto_examples
232+
path: doc/auto_examples.zip
242233
- store_artifacts:
243-
path: doc/auto_tutorials
244-
destination: auto_tutorials
234+
path: doc/auto_tutorials.zip
245235
- store_artifacts:
246-
path: doc/generated
247-
destination: generated
236+
path: doc/generated.zip
248237
# Save the HTML
249238
- store_artifacts:
250239
path: doc/_build/html/

0 commit comments

Comments
 (0)