Skip to content

Commit 8741ced

Browse files
committed
MAINT: Make test dir read-only
1 parent ca59345 commit 8741ced

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tools/github_actions_download.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
if [ "${MNE_CI_KIND}" != "minimal" ]; then
44
python -c 'import mne; mne.datasets.testing.data_path(verbose=True)';
55
python -c "import mne; mne.datasets.misc.data_path(verbose=True)";
6+
# Make read-only to make sure we don't modify its contents
7+
PATH=$(python -c "import mne; print(mne.datasets.testing.data_path(verbose=False))")
8+
chmod -R a-w "$PATH"
69
fi

0 commit comments

Comments
 (0)