Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
52

Latest Updates

Documenting code, one commit at a time.

SonarQube 4 posts
×

Navigating Code Coverage with SonarQube: The Nullish Coalescing Operator Challenge

The Problem

In the sivbg-project, maintaining high code quality and comprehensive test coverage is a critical aspect of our development workflow. Our continuous integration pipeline leverages SonarQube to enforce quality gates, including strict new code coverage requirements. Recently, a specific code construct, the nullish coalescing operator (??), presented an unexpected challenge

Boosting Code Quality: SonarQube on a Self-Hosted Windows Runner with GitHub Actions

In the sivbg-project, maintaining high code quality is paramount. To reinforce our commitment to robust and maintainable code, we've integrated SonarQube into our continuous integration pipeline. This post details how we set up a SonarQube analysis job on a self-hosted Windows runner using GitHub Actions, leveraging the sonar-scanner-npm and enforcing quality gates.

The Need for

Bypassing PowerShell Execution Policies for SonarQube in GitHub Actions

Introduction

The sivbg-project prioritizes code quality, making static analysis tools like SonarQube essential for our CI/CD pipeline. SonarQube provides invaluable insights into code health and maintainability. Our recent efforts to integrate SonarQube analysis within GitHub Actions workflows, however, revealed a common environmental challenge on Windows runners.

The Problem