aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-12 18:27:48 +0100
committerKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-12 18:27:48 +0100
commitddbcacdce5e69fa7cbcaa891540da2815451b6ce (patch)
treecd63a6ebc4d34d8943bc8965cb570bbdfcd25223
parentc382480ca8b08abb93a23cf29cc3c386ba6e5d29 (diff)
downloadlibquotient-ddbcacdce5e69fa7cbcaa891540da2815451b6ce.tar.gz
libquotient-ddbcacdce5e69fa7cbcaa891540da2815451b6ce.zip
Don't run the test if TEST_USER is empty
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ff5392a9..907a4a34 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -95,5 +95,6 @@ jobs:
env:
TEST_USER: ${{ secrets.TEST_USER }}
TEST_PWD: ${{ secrets.TEST_PWD }}
- run: $VALGRIND build-test/quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"
+ run: |
+ [[ -z "$TEST_USER" ]] || $VALGRIND build-test/quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"
timeout-minutes: 5 # quotest is supposed to finish within 3 minutes, actually