codecov : remove (#8004)

This commit is contained in:
Georgi Gerganov 2024-06-19 13:04:36 +03:00 committed by GitHub
parent 623494a478
commit a04a953cab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 55 deletions

1
.github/labeler.yml vendored
View File

@ -42,7 +42,6 @@ build:
- cmake/** - cmake/**
- CMakeLists.txt - CMakeLists.txt
- CMakePresets.json - CMakePresets.json
- codecov.yml
examples: examples:
- changed-files: - changed-files:
- any-glob-to-any-file: examples/** - any-glob-to-any-file: examples/**

View File

@ -1,40 +0,0 @@
name: Code Coverage
on: [push, pull_request]
env:
GGML_NLOOP: 3
GGML_N_THREADS: 1
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
cancel-in-progress: true
jobs:
run:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential gcc-8 lcov
- name: Build
run: CC=gcc-8 make -j LLAMA_CODE_COVERAGE=1 tests
- name: Run tests
run: CC=gcc-8 make test
- name: Generate coverage report
run: |
make coverage
make lcov-report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov-report/coverage.info

View File

@ -1,14 +0,0 @@
comment: off
coverage:
status:
project:
default:
target: auto
threshold: 0
base: auto
patch:
default:
target: auto
threshold: 0
base: auto