Skip to content

Commit

Permalink
MAINT: Improve PR template (mne-tools#12833)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Sep 13, 2024
1 parent 528e046 commit 2f29927
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@ Again, thanks for contributing!
-->

#### Reference issue
Example: Fixes #1234.
#### Reference issue (if any)

<!-- Example:
Fixes #1234.
-->


#### What does this implement/fix?
Explain your changes.

<!-- Explain your changes. -->


#### Additional information
Any additional information you think is important.

<!-- Any additional information you think is important. -->
3 changes: 3 additions & 0 deletions tools/github_actions_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ if [[ ! -z "$CONDA_ENV" ]] && [[ "${RUNNER_OS}" != "Windows" ]]; then
cd ..
INSTALL_PATH=$(python -c "import mne, pathlib; print(str(pathlib.Path(mne.__file__).parents[1]))")
echo "Copying tests from $(pwd)/mne-python/mne/ to ${INSTALL_PATH}/mne/"
echo "::group::rsync"
rsync -a --partial --progress --prune-empty-dirs --exclude="*.pyc" --include="**/" --include="**/tests/*" --include="**/tests/data/**" --exclude="**" ./mne-python/mne/ ${INSTALL_PATH}/mne/
echo "::endgroup::"
cd $INSTALL_PATH
echo "Executing from $(pwd)"
fi

set -x
pytest -m "${CONDITION}" --tb=short --cov=mne --cov-report xml --color=yes --junit-xml=$JUNIT_PATH -vv ${USE_DIRS}
set +x

0 comments on commit 2f29927

Please sign in to comment.