Skip to content

Commit

Permalink
ci: Add new shaka-bot commands (#7626)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Nov 20, 2024
1 parent defd2ee commit dabfe52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/shaka-bot-commands/command-help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
echo 'I honor the following commands from maintainers only:'
echo ' - `@shaka-bot test`: Start lab tests on all devices'
echo ' - `@shaka-bot test ce`: Start lab tests on CE devices only (no desktop browsers)'
echo ' - `@shaka-bot test cast`: Start lab tests on Cast devices only'
echo ' - `@shaka-bot test tizen`: Start lab tests on Tizen device only'
) | reply_from_pipe
6 changes: 6 additions & 0 deletions .github/workflows/shaka-bot-commands/command-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ case "${SHAKA_BOT_ARGUMENTS[0]}" in
# CE devices only.
ce) WORKFLOW_ARGS+=( "browser_filter=Tizen ChromecastUltra ChromecastGTV ChromeAndroid" ) ;;

# Cast devices only.
cast) WORKFLOW_ARGS+=( "browser_filter=ChromecastUltra ChromecastGTV" ) ;;

# Tizen device only.
tizen) WORKFLOW_ARGS+=( "browser_filter=Tizen" ) ;;

# No command argument, no extra workflow arguments.
"") ;;

Expand Down

0 comments on commit dabfe52

Please sign in to comment.