Skip to content

Commit

Permalink
Try CI reconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Dec 27, 2024
1 parent 39699b6 commit f320ac5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ jobs:
ls ~/.local$BIN_DIR/quotest
- name: Run tests
if: runner.os != 'Windows'
env:
TEST_USER: ${{ secrets.TEST_USER }}
TEST_PWD: ${{ secrets.TEST_PWD }}
Expand All @@ -207,6 +208,22 @@ jobs:
quotest "$TEST_USER" "$TEST_PWD" quotest-gha '#quotest:matrix.org' "$QUOTEST_ORIGIN"
timeout-minutes: 4 # quotest is supposed to finish within 3 minutes, actually

- name: Run tests (Windows)
if: runner.os == 'Windows'
shell: pwsh
env:
TEST_USER: ${{ secrets.TEST_USER }}
TEST_PWD: ${{ secrets.TEST_PWD }}
QT_ASSUME_STDERR_HAS_CONSOLE: 1 # Windows needs this for meaningful debug output
QT_LOGGING_RULES: 'quotient.*.debug=true;quotient.jobs.sync.debug=false;quotient.events.ephemeral.debug=false;quotient.events.state.debug=false;quotient.events.members.debug=false'
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: |
ctest --test-dir $BUILD_PATH --output-on-failure -E testolmaccount
if ($env:TEST_USER) {
quotest "$env:TEST_USER%" "$env:TEST_PWD%" quotest-gha '#quotest:matrix.org' "$env:QUOTEST_ORIGIN"
}
timeout-minutes: 4 # quotest is supposed to finish within 3 minutes, actually

- name: Perform CodeQL analysis
if: matrix.static-analysis == 'codeql'
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit f320ac5

Please sign in to comment.