Skip to content

Conversation

@genspark-ai-developer
Copy link

Summary

This PR adds CodeCov test coverage integration to the master branch, matching the configuration already present in the refactoring branch.

Changes

  • ✅ Added LIBIPC_CODECOV option to CMakeLists.txt
  • ✅ Added coverage compilation flags (--coverage, -lgcov) for non-MSVC builds
  • ✅ Added CodeCov badge to README.md
  • ⚠️ codecov.yml workflow file prepared but requires manual addition due to workflow permissions

codecov.yml Workflow File

The following workflow file needs to be manually added to .github/workflows/codecov.yml:

name: Upload CodeCov Report on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v2 - name: Configure run: cmake -DCMAKE_BUILD_TYPE=Debug -DLIBIPC_BUILD_TESTS=ON -DLIBIPC_CODECOV=ON . - name: Build run: make -j - name: Test env: LD_LIBRARY_PATH: ./bin run: ./bin/test-ipc - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.0.1 with: verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Testing

  • CMakeLists.txt changes verified to match refactoring branch configuration
  • Badge URL matches the one used in refactoring branch
  • Workflow configuration tested against refactoring branch template

Related

  • Based on codecov configuration from refactoring branch
  • Ensures consistent test coverage reporting across branches
mutouyun and others added 2 commits December 10, 2025 04:29
Add CodeCov test coverage configuration: - Add LIBIPC_CODECOV option to CMakeLists.txt with coverage compilation flags - Add CodeCov badge to README.md for coverage status display Note: The codecov.yml workflow file needs to be added manually or requires workflows permission to push.
@mutouyun mutouyun merged commit 59a323a into master Dec 10, 2025
2 of 4 checks passed
@mutouyun mutouyun deleted the genspark_ai_developer branch December 10, 2025 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant