Skip to content

Commit

Permalink
sonarcloud twister fix
Browse files Browse the repository at this point in the history
try using twister as in jenkins
  • Loading branch information
karhama authored Dec 11, 2024
1 parent fc82211 commit 25cf386
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,12 @@ jobs:
uses: SonarSource/sonarcloud-github-c-cpp@v3

- name: Build and test
working-directory: ncs/nrf
working-directory: ncs
run: |
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} west twister -T . -C --coverage-platform=native_sim -v --inline-logs --integration --subset 1/300
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} ./zephyr/scripts/twister \
--ninja --integration --subset 1/300 \
--quarantine-list nrf/scripts/quarantine.yaml --quarantine-list nrf/scripts/quarantine_integration.yaml \
-T samples
- name: Extract coverage into sonarqube xml format
working-directory: ncs/nrf
Expand Down

0 comments on commit 25cf386

Please sign in to comment.