diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-12 18:27:48 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2021-01-12 18:27:48 +0100 |
commit | ddbcacdce5e69fa7cbcaa891540da2815451b6ce (patch) | |
tree | cd63a6ebc4d34d8943bc8965cb570bbdfcd25223 /.github | |
parent | c382480ca8b08abb93a23cf29cc3c386ba6e5d29 (diff) | |
download | libquotient-ddbcacdce5e69fa7cbcaa891540da2815451b6ce.tar.gz libquotient-ddbcacdce5e69fa7cbcaa891540da2815451b6ce.zip |
Don't run the test if TEST_USER is empty
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 3 |
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 |