diff options
| -rw-r--r-- | .codecov.yaml | 143 | ||||
| -rw-r--r-- | .github/workflows/cmake.yml | 36 | ||||
| -rw-r--r-- | .github/workflows/pigz.yml | 40 |
3 files changed, 1 insertions, 218 deletions
diff --git a/.codecov.yaml b/.codecov.yaml deleted file mode 100644 index 9b57362f0a..0000000000 --- a/.codecov.yaml +++ /dev/null @@ -1,143 +0,0 @@ -codecov: - max_report_age: false - notify: - wait_for_ci: true - require_ci_to_pass: false - -comment: - require_base: false - require_head: false - -coverage: - status: - project: - default: - target: 80% # Target 80% project coverage - threshold: 10 # Allow pass even when project coverage drops by 10% (because of AVX512) - paths: - - "!test/" # Don't count coverage of tests towards project coverage - - "!tools/" # --"-- tools --"-- - patch: - default: - target: auto - threshold: 10 # Allow 10% worse coverage of changed code - -component_management: - default_rules: # Defaults inherited by all components - statuses: - - type: project - target: auto - threshold: 0.2 # Most components should have only minimal coverage changes - individual_components: - - component_id: deflate - name: deflate - paths: - - compare* - - compress* - - deflate* - - insert* - - match* - - arch/generic/compare* - - arch/generic/slide* - - component_id: inflate - name: inflate - paths: - - chunkset* - - inf* - - uncompr* - - arch/generic/chunk* - - component_id: gzlib - name: gzlib - paths: - - gz* - - component_id: adler32 - name: adler32 - paths: - - adler32* - - arch/generic/adler32* - - component_id: crc32 - name: crc32 - paths: - - crc32* - - arch/generic/crc32* - - component_id: common - name: common - statuses: - - threshold: 2 # CI changes between AVX2 and AVX-512 capable hosts - paths: - - arch_functions.h - - cpu* - - fallback* - - functable* - - trees* - - zbuild* - - zendian* - - zlib* - - zmemory* - - zutil* - - arch/generic/generic_functions.h - - component_id: arch_arm - name: arch_arm - paths: - - arch/arm/** - - component_id: arch_loongarch - name: arch_loongarch - paths: - - arch/loongarch/** - - component_id: arch_power - name: arch_power - paths: - - arch/power/** - - component_id: arch_riscv - name: arch_riscv - paths: - - arch/riscv/** - - component_id: arch_s390 - name: arch_s390 - paths: - - arch/s390/** - - component_id: arch_x86 - name: arch_x86 - statuses: - - threshold: 10 # CI changes between AVX2 and AVX-512 capable hosts - paths: - - arch/x86/** - - component_id: minigzip - name: minigzip - paths: - - test/minigzip.c - - component_id: minideflate - name: minideflate - paths: - - test/minideflate.c - - component_id: tools - name: tools - paths: - - tools/** - - component_id: tests - name: tests - paths: - - test/** - - "!test/minigzip.c" - - "!test/minideflate.c" - -github_checks: - annotations: false - -fixes: - - '/home/actions-runner/_work/zlib-ng/zlib-ng::' - - '/home/actions-runner/_work/zlib-ng/zlib-ng/build/::' - -ignore: - - test/benchmarks/** - - "**/benchmark_*" - - usr/include/.* - - /usr/include/.* - - /build/usr/include/.* - - usr/lib/.* - - /usr/lib/.* - - /build/usr/lib/.* - - usr/lib64/.* - - /usr/lib64/.* - - /build/usr/lib64/.* - - _deps/** diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b1ea3f56cf..28bcfa0b05 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -347,7 +347,7 @@ jobs: packages: qemu-user gcc-s390x-linux-gnu g++-s390x-linux-gnu libc-dev-s390x-cross asan-options: detect_leaks=0 gcov-exec: ${{ github.repository == 'zlib-ng/zlib-ng' && 'llvm-cov gcov' || 's390x-linux-gnu-gcov' }} - codecov: ${{ github.repository == 'zlib-ng/zlib-ng' && 'el10_clang_s390x_dfltcc_asan' || 'ubuntu_gcc_s390x_dfltcc_asan' }} + coverage: ${{ github.repository == 'zlib-ng/zlib-ng' && 'el10_clang_s390x_dfltcc_asan' || 'ubuntu_gcc_s390x_dfltcc_asan' }} # The dedicated z15 test VM has 4 cores parallels-jobs: 4 @@ -897,14 +897,6 @@ jobs: --gcov-executable "${{ matrix.gcov-exec || 'gcov' }}" \ --xml --output ${{ matrix.coverage }}.xml - - name: Upload coverage report artifact - uses: actions/upload-artifact@v7 - if: matrix.coverage - with: - name: ${{ matrix.name }} (coverage) - path: ${{ matrix.coverage }}.xml - retention-days: 1 - - name: Upload job coverage report to coveralls uses: coverallsapp/github-action@v2 if: (matrix.coverage && !contains(matrix.os, 'z15') && (env.COVERALLS_REPO_TOKEN != '' || github.repository == 'zlib-ng/zlib-ng')) @@ -944,32 +936,6 @@ jobs: needs: cmake if: cancelled() == false steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - show-progress: false - - - name: Download all reports - uses: actions/download-artifact@v8 - with: - merge-multiple: true - - - name: Display all coverage artifacts - run: | - ls -R *.xml - echo "COVERAGE_REPORTS=`ls -p *.xml | grep -v / | tr '\n' ',' | sed 's/,$//g'`" >> $GITHUB_ENV - - - name: Upload reports to codecov - uses: codecov/codecov-action@v5 - if: (env.CODECOV_TOKEN != '' || github.repository == 'zlib-ng/zlib-ng') - with: - files: ${{ env.COVERAGE_REPORTS }} - name: "cmake-umbrella-${{ github.event_name }}" - verbose: true - fail_ci_if_error: true - env: - CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" - - name: Upload to Coveralls - Final uses: coverallsapp/github-action@v2 if: (env.COVERALLS_REPO_TOKEN != '' || github.repository == 'zlib-ng/zlib-ng') diff --git a/.github/workflows/pigz.yml b/.github/workflows/pigz.yml index 93617275f6..4c84479b1c 100644 --- a/.github/workflows/pigz.yml +++ b/.github/workflows/pigz.yml @@ -115,14 +115,6 @@ jobs: --root . \ --xml --output ${{ matrix.coverage }}.xml - - name: Upload coverage report artifact - uses: actions/upload-artifact@v7 - if: matrix.coverage - with: - name: ${{ matrix.name }} (coverage) - path: ${{ matrix.coverage }}.xml - retention-days: 1 - - name: Upload build errors uses: actions/upload-artifact@v7 if: failure() @@ -134,35 +126,3 @@ jobs: **/Testing/Temporary/* ${{ matrix.coverage }}.xml retention-days: 30 - - coverage: - name: Upload Coverage Reports - runs-on: ubuntu-latest - needs: pigz - if: cancelled() == false - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - show-progress: false - - - name: Download all reports - uses: actions/download-artifact@v8 - with: - merge-multiple: true - - - name: Display all coverage artifacts - run: | - ls -R *.xml - echo "COVERAGE_REPORTS=`ls -p *.xml | grep -v / | tr '\n' ',' | sed 's/,$//g'`" >> $GITHUB_ENV - - - name: Upload reports to codecov - uses: codecov/codecov-action@v5 - if: (env.CODECOV_TOKEN != '' || github.repository == 'zlib-ng/zlib-ng') - with: - files: ${{ env.COVERAGE_REPORTS }} - name: "pigz-umbrella-${{ github.event_name }}" - verbose: true - fail_ci_if_error: true - env: - CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" |
