Skip to content

Commit

Permalink
FIX: Add
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jul 6, 2023
1 parent 497c7a7 commit 69877aa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .circleci/run_dataset_and_copy_files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

set -eo pipefail

DS_RUN=$1
if [[ "$2" == "" ]]; then
DS="$DS_RUN"
else
DS="$2"
fi
pytest mne_bids_pipeline --junit-xml=test-results/junit-results.xml -k ${DS_RUN}
mkdir -p ~/reports/${DS}
cp -av ~/mne_data/derivatives/mne-bids-pipeline/${DS}/*/*/*.html ~/reports/${DS}/
cp -av ~/mne_data/derivatives/mne-bids-pipeline/${DS}/*/*/*.json ~/reports/${DS}/
cp -av ~/mne_data/derivatives/mne-bids-pipeline/${DS}/*/*/*.tsv ~/reports/${DS}/
cp -av ~/mne_data/derivatives/mne-bids-pipeline/${DS}/*.xlsx ~/reports/${DS}/
ls -al test-results/*.xml

0 comments on commit 69877aa

Please sign in to comment.