mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-25 20:41:19 -05:00
12 lines
377 B
Bash
Executable File
12 lines
377 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exclude stubs for (re)moved plugins
|
|
SKIP_PLUGINS=("--exclude=./Weather" "--exclude=./DDG" "--exclude=./SedRegex")
|
|
|
|
if [[ -n "$DRONE_PULL_REQUEST" ]]; then
|
|
echo "Skipping tests that require secret API keys"
|
|
export SKIP_PLUGINS+=("--exclude=./LastFM" "--exclude=./NuWeather" "--exclude=./AQI")
|
|
fi
|
|
|
|
supybot-test -c --plugins-dir=. "${SKIP_PLUGINS[@]}" "$@"
|