injectorpp 0.5.1

Injectorpp is a powerful tool designed to facilitate the writing of unit tests without the need to introduce traits solely for testing purposes. It streamlines the testing process by providing a seamless and efficient way to abstract dependencies, ensuring that your code remains clean and maintainable.
Documentation
name: PR Diff Coverage

on:
  pull_request:
    branches: [ main ]

permissions:
  contents: read

jobs:
  diff-coverage:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Install Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          override: true

      - name: Install Tarpaulin
        run: cargo install cargo-tarpaulin --version 0.32.0 --force

      - name: Run Tarpaulin -> JSON summary
        run: |
            mkdir -p coverage
            cargo tarpaulin \
            --out Json \
            --output-dir coverage \
            -- --test-threads=1

      - name: Archive coverage JSON
        uses: actions/upload-artifact@v4
        with:
          name: coverage-summary
          path: coverage/coverage-summary.json