1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-11-30 16:17:57 +00:00

*: Figure out GitHub Actions ternaries

This commit is contained in:
diamondburned 2023-11-04 03:08:25 -07:00
parent 7bfaf41a15
commit 619521c41e
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -67,7 +67,7 @@ jobs:
run: go test $TEST_FLAGS ./... run: go test $TEST_FLAGS ./...
env: env:
TEST_FLAGS: >- TEST_FLAGS: >-
-verbose=${{ runner.debug }} -verbose=${{ runner.debug && '1' || '0' }}
integration-test: integration-test:
name: Integration Test name: Integration Test
@ -86,8 +86,8 @@ jobs:
go tool cover -func /tmp/coverage.out go tool cover -func /tmp/coverage.out
env: env:
TEST_FLAGS: >- TEST_FLAGS: >-
-verbose=${{ runner.debug }} -verbose=${{ runner.debug && '1' || '0' }}
-short=${{ github.event-name == 'workflow_dispatch' || github.event.inputs.short-integration-tests }} -short=${{ (github.event-name == 'workflow_dispatch' || github.event.inputs.short-integration-tests) && '1' || '0' }}
CHANNEL_ID: ${{ secrets.CHANNEL_ID }} CHANNEL_ID: ${{ secrets.CHANNEL_ID }}
GUILD_ID: ${{ secrets.GUILD_ID }} GUILD_ID: ${{ secrets.GUILD_ID }}
VOICE_ID: ${{ secrets.VOICE_ID }} VOICE_ID: ${{ secrets.VOICE_ID }}