aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-06 07:17:17 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-06 07:17:44 +0100
commit9ddb72611f5575ccd5d3b68734a9d40d8ef2befc (patch)
tree2f22751161fb9f9e2b02b054a749b37e1250c695 /.github/workflows/ci.yml
parent776d05bf98a5dd9e484d5a0e651c71fa95498689 (diff)
downloadlibquotient-9ddb72611f5575ccd5d3b68734a9d40d8ef2befc.tar.gz
libquotient-9ddb72611f5575ccd5d3b68734a9d40d8ef2befc.zip
Add execution of autotests to CI
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 47e55421..ec6b671c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -154,7 +154,7 @@ jobs:
- name: Build and install libQuotient
run: |
- cmake --build build --target install
+ cmake --build build --target all install
ls ~/.local/$BIN_DIR/quotest
- name: Run tests
@@ -164,6 +164,8 @@ jobs:
QT_LOGGING_RULES: 'quotient.main.debug=true;quotient.jobs.debug=true'
QT_MESSAGE_PATTERN: '%{time h:mm:ss.zzz}|%{category}|%{if-debug}D%{endif}%{if-info}I%{endif}%{if-warning}W%{endif}%{if-critical}C%{endif}%{if-fatal}F%{endif}|%{message}'
run: |
+ cd build
+ ctest --output-on-failure
[[ -z "$TEST_USER" ]] || $VALGRIND build/quotest/quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"
timeout-minutes: 4 # quotest is supposed to finish within 3 minutes, actually