From 1b3c449f145fb5b486225caa58259450a26260f6 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Sun, 6 Aug 2023 13:29:44 +1000 Subject: [PATCH] Try a quick BLE scan on CI hosts Not expecting it to work, just hoping permission issues kick in before no-BLE-device failures, so we can replicate issue #9 (`QBluetoothDeviceDiscoveryAgent::MissingPermissionsError`) in CI. --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cf132a28f..3a308159f 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -36,6 +36,7 @@ jobs: cmake -D CMAKE_BUILD_TYPE=Release -D ENABLE_COVERAGE=${{ matrix.env.coverage }} -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" cmake --build "$RUNNER_TEMP" "$RUNNER_TEMP/src/cli/dokit" --version + "$RUNNER_TEMP/src/cli/dokit" scan --debug --timeout 100ms - name: Test run: ctest --output-on-failure --test-dir "$RUNNER_TEMP" --verbose - name: Collate test coverage @@ -121,6 +122,7 @@ jobs: cmake -D CMAKE_BUILD_TYPE=Release -D ENABLE_COVERAGE=${{ matrix.env.coverage }} -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" cmake --build "$RUNNER_TEMP" "$RUNNER_TEMP/src/cli/dokit" --version + "$RUNNER_TEMP/src/cli/dokit" scan --debug --timeout 100ms - name: Test run: ctest --output-on-failure --test-dir "$RUNNER_TEMP" --verbose - name: Collate test coverage @@ -209,6 +211,7 @@ jobs: -S "$GITHUB_WORKSPACE" -B "$RUNNER_TEMP" cmake --build "$RUNNER_TEMP" -- VERBOSE=1 "$RUNNER_TEMP/src/cli/dokit" --version + "$RUNNER_TEMP/src/cli/dokit" scan --debug --timeout 100ms - name: Test run: ctest --output-on-failure --test-dir "$RUNNER_TEMP" --verbose - name: Collate test coverage @@ -368,6 +371,7 @@ jobs: cd portable windeployqt --compiler-runtime --release --verbose 2 dokit.exe ${{ matrix.dll }} dokit.exe --version + dokit.exe scan --debug --timeout 100ms working-directory: ${{ runner.temp }} - name: Setup artifacts shell: bash