Skip to content

Commit

Permalink
Try a quick BLE scan on CI hosts
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pcolby committed Aug 6, 2023
1 parent 9e70a3d commit 1b3c449
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1b3c449

Please sign in to comment.