Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add sonarcloud example #19934

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

karhama
Copy link
Contributor

@karhama karhama commented Jan 16, 2025

This is example workflow to build one sample with sonarcloud.

@karhama karhama added DNM CI-disable Disable CI for this PR labels Jan 16, 2025
@karhama karhama requested review from a team as code owners January 16, 2025 07:46
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jan 16, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 16, 2025

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 6

Inputs:

Sources:

more details

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (0)

Outputs:

Toolchain

Version:
Build docker image:

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain
  • ◻️ Build twister
  • ◻️ Integration tests

Note: This message is automatically posted and updated by the CI

- "docs/**"
pull_request:
paths:
- '**/*.c'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- '**/*.c'
- 'applications/asset_tracker_v2/**/*.c'
- 'applications/asset_tracker_v2/**/*.h'

@karhama karhama force-pushed the sonarcloud branch 3 times, most recently from 3f8853f to 5ecdaf1 Compare January 20, 2025 07:55
jobs:
build:
name: Build and analyze
runs-on: ubuntu-22.04
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu-latest? GH switched to 24.04 last week.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add entry in CODEOWNERS for this?

This is example workflow to build one app with sonarcloud.

Signed-off-by: Kari Hamalainen <[email protected]>
@github-actions github-actions bot removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-disable Disable CI for this PR DNM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants