Skip to content

Commit 22f6f7b

Browse files
committed
FIX: arm64 can run slow ones now
1 parent 91bf042 commit 22f6f7b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

tools/github_actions_test.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ set -eo pipefail
44

55
if [[ "${CI_OS_NAME}" == "ubuntu"* ]]; then
66
CONDITION="not (ultraslowtest or pgtest)"
7-
else # macOS or Windows
7+
elif [[ "${CI_OS_NAME}" == "macos"* ]]; then
8+
# detect arch and run slowtest on arm64 only (pgtest is already ultraslow on macOS)
9+
if [[ "$(uname -m)" == "arm64" ]]; then
10+
CONDITION="not (ultraslowtest or pgtest)"
11+
else
12+
CONDITION="not (slowtest or pgtest)"
13+
fi
14+
elif [[ "${CI_OS_NAME}" == "windows"* ]]; then
815
CONDITION="not (slowtest or pgtest)"
16+
else:
17+
echo "✕ ERROR: Unrecognized CI_OS_NAME=${CI_OS_NAME}"
18+
exit 1
919
fi
1020
if [ "${MNE_CI_KIND}" == "notebook" ]; then
1121
USE_DIRS=mne/viz/

0 commit comments

Comments
 (0)