mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
CI bugs out if token is not provided, fixed that
This commit is contained in:
parent
10bdb19f68
commit
892c88d808
|
@ -26,12 +26,9 @@ unit_test:
|
|||
|
||||
integration_test:
|
||||
stage: test
|
||||
only:
|
||||
variables:
|
||||
- $BOT_TOKEN
|
||||
- $VOICE_ID # for voice tests
|
||||
- $CHANNEL_ID # for API integration tests
|
||||
script:
|
||||
# Don't run if these variables aren't provided.
|
||||
- '[ ! "$BOT_TOKEN" ] && exit'
|
||||
# go get first, so it doesn't count towards the timeout.
|
||||
- go get ./...
|
||||
# Timeout test after 120 seconds (2 minutes)
|
||||
|
|
Loading…
Reference in a new issue