chore: update custom runs args
This commit is contained in:
parent
be547224fb
commit
a8837f9d76
11
.github/workflows/autoqa-reliability.yml
vendored
11
.github/workflows/autoqa-reliability.yml
vendored
@ -95,7 +95,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$runs = "${{ inputs.reliability_runs }}"
|
$runs = "${{ inputs.reliability_runs }}"
|
||||||
$runsArg = ""
|
$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
|
python main.py --enable-reliability-test --reliability-phase "${{ inputs.reliability_phase }}" --reliability-test-path "${{ inputs.reliability_test_path }}" $runsArg
|
||||||
|
|
||||||
- name: Upload screen recordings
|
- name: Upload screen recordings
|
||||||
@ -157,7 +157,8 @@ jobs:
|
|||||||
libatk1.0-0 \
|
libatk1.0-0 \
|
||||||
libcairo-gobject2 \
|
libcairo-gobject2 \
|
||||||
libgdk-pixbuf2.0-0 \
|
libgdk-pixbuf2.0-0 \
|
||||||
gnome-screenshot
|
gnome-screenshot \
|
||||||
|
xvfb
|
||||||
|
|
||||||
- name: Setup script permissions
|
- name: Setup script permissions
|
||||||
run: |
|
run: |
|
||||||
@ -199,15 +200,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Run reliability tests
|
- name: Run reliability tests
|
||||||
working-directory: autoqa
|
working-directory: autoqa
|
||||||
env:
|
|
||||||
DISPLAY: ${{ env.DISPLAY }}
|
|
||||||
run: |
|
run: |
|
||||||
runs="${{ inputs.reliability_runs }}"
|
runs="${{ inputs.reliability_runs }}"
|
||||||
runsArg=""
|
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}"
|
processName="${JAN_PROCESS_NAME}"
|
||||||
janBin="${RUNTIME_JAN_BIN}"
|
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
|
- name: Upload screen recordings
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user