Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
name: Python CI

# Workflow trigger optimization:
# - PR events: Run full validation tests to verify code quality before merging
# - Push to main: Run build and tests after merge to ensure main branch stability
# - Tag events: Trigger releases to PyPI
#
# This separation reduces redundant CI runs by not triggering on feature branch pushes
# since those will be validated through PR checks when ready to merge

on:
push:
branches:
- "main"
- "feature/**"
- "fix/**"
- "release/**"
tags: [ "v*" ] # Trigger on tags starting with v
pull_request:
branches: [ "main" ]
Expand Down Expand Up @@ -123,6 +128,7 @@ jobs:

# Fix SonarCloud scan to use proper configuration
- name: SonarCloud Scan
# This step runs for both push to main and PRs - provides baseline analysis
uses: SonarSource/sonarqube-scan-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to decorate PRs with analysis results
Expand All @@ -142,6 +148,7 @@ jobs:

# Add specific PR properties based on GitHub context
- name: SonarCloud PR Analysis
# This step runs only for PRs - adds PR-specific metadata
if: github.event_name == 'pull_request'
uses: SonarSource/sonarqube-scan-action@master
env:
Expand Down
5 changes: 0 additions & 5 deletions TODO_gemini_loop.md

This file was deleted.

Loading