Skip to content

Commit

Permalink
MAINT: Link to sg_execution_times (mne-tools#12008)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Sep 22, 2023
1 parent 9de0ef6 commit 8ee60d0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ jobs:
name: List packages
command: python -m pip list

# Figure out if we should run a full, pattern, or noplot version
# Figure out if we should run a full build or specify a pattern
- restore_cache:
keys:
- data-cache-tiny-1
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
- run:
name: Reduce artifact upload time
command: |
if grep -q html-pattern-memory build.txt || grep -q html-noplot build.txt; then
if grep -q html-pattern-memory build.txt; then
zip -rm doc/_build/html/_downloads.zip doc/_build/html/_downloads
fi
for NAME in generated auto_tutorials auto_examples; do
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/circle_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CIRCLECI_TOKEN }}
artifact-path: 0/html/index.html
artifact-path: 0/html/sg_execution_times.html
circleci-jobs: build_docs,build_docs_main
job-title: Check the rendered docs here!
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ doc/samples
doc/*.dat
doc/fil-result
doc/optipng.exe
sg_execution_times.rst
cover
*.html

Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ help:
@echo " view to view the built HTML"

clean:
-rm -rf _build auto_examples auto_tutorials generated *.stc *.fif *.nii.gz
-rm -rf _build sg_execution_times.rst auto_examples auto_tutorials generated *.stc *.fif *.nii.gz

html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
Expand Down
4 changes: 2 additions & 2 deletions tools/circleci_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ else
fi;
done;
echo PATTERN="$PATTERN";
echo html-pattern-memory > build.txt;
if [[ $PATTERN ]]; then
PATTERN="\(${PATTERN::-2}\)";
echo html-pattern-memory > build.txt;
else
echo html-noplot > build.txt;
PATTERN="run_no_examples_or_tutorials"
fi;
fi;
echo "$PATTERN" > pattern.txt;

0 comments on commit 8ee60d0

Please sign in to comment.