From a8837f9d76dfb26ad4ccb99bf4af764a5195556b Mon Sep 17 00:00:00 2001 From: Minh141120 Date: Wed, 20 Aug 2025 21:26:22 +0700 Subject: [PATCH] chore: update custom runs args --- .github/workflows/autoqa-reliability.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/autoqa-reliability.yml b/.github/workflows/autoqa-reliability.yml index 012c2d720..d19cfa5ce 100644 --- a/.github/workflows/autoqa-reliability.yml +++ b/.github/workflows/autoqa-reliability.yml @@ -95,7 +95,7 @@ jobs: run: | $runs = "${{ inputs.reliability_runs }}" $runsArg = "" - if ([int]$runs -gt 0) { $runsArg = "--reliability-runs $runs" } + if ([int]$runs -gt 0) { $runsArg = "--reliability-runs=$runs" } python main.py --enable-reliability-test --reliability-phase "${{ inputs.reliability_phase }}" --reliability-test-path "${{ inputs.reliability_test_path }}" $runsArg - name: Upload screen recordings @@ -157,7 +157,8 @@ jobs: libatk1.0-0 \ libcairo-gobject2 \ libgdk-pixbuf2.0-0 \ - gnome-screenshot + gnome-screenshot \ + xvfb - name: Setup script permissions run: | @@ -199,15 +200,13 @@ jobs: - name: Run reliability tests working-directory: autoqa - env: - DISPLAY: ${{ env.DISPLAY }} run: | runs="${{ inputs.reliability_runs }}" runsArg="" - if [ "${runs}" -gt 0 ]; then runsArg="--reliability-runs ${runs}"; fi + if [ "${runs}" -gt 0 ]; then runsArg="--reliability-runs=${runs}"; fi processName="${JAN_PROCESS_NAME}" janBin="${RUNTIME_JAN_BIN}" - python main.py --enable-reliability-test --reliability-phase "${{ inputs.reliability_phase }}" --reliability-test-path "${{ inputs.reliability_test_path }}" ${runsArg} --jan-process-name "${processName}" --jan-app-path "${janBin}" + xvfb-run -a python main.py --enable-reliability-test --reliability-phase "${{ inputs.reliability_phase }}" --reliability-test-path "${{ inputs.reliability_test_path }}" ${runsArg} --jan-process-name "${processName}" --jan-app-path "${janBin}" - name: Upload screen recordings if: always()