Skip to content

Commit 14fb183

Browse files
committed
add unit tests
1 parent a03c893 commit 14fb183

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/sonarcube.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Build
1+
name: Sonarcube Scan
22
on:
33
push:
44
branches:
5-
- main
5+
- master
66
pull_request:
77
types: [opened, synchronize, reopened]
88
jobs:
@@ -23,10 +23,15 @@ jobs:
2323
sudo apt-get update
2424
sudo apt-get install -y libzmq3-dev libsqlite3-dev
2525
26+
- name: Install googletest
27+
uses: Bacondish2023/setup-googletest@v1
28+
with:
29+
tag: 'release-1.14.0'
30+
2631
- name: Run Build Wrapper
2732
run: |
2833
mkdir build
29-
cmake -S . -B build -DBTCPP_UNIT_TESTS=OFF
34+
cmake -S . -B build
3035
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release
3136
- name: SonarQube Scan
3237
uses: SonarSource/sonarqube-scan-action@v4

0 commit comments

Comments
 (0)