Spaces:
Runtime error
Runtime error
Download llama-cpp-python/vendor/llama.cpp/.github/workflows/code-coverage.yml from aelitta/BioMistral_gradio: direct link, hf CLI and curl.
- Browser
- Download file 902 Bytes
-
https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/.github/workflows/code-coverage.yml
- Command line
-
hf download hf://spaces/aelitta/BioMistral_gradio/llama-cpp-python/vendor/llama.cpp/.github/workflows/code-coverage.yml
-
curl -L -o code-coverage.yml https://huggingface.co/spaces/aelitta/BioMistral_gradio/resolve/main/llama-cpp-python/vendor/llama.cpp/.github/workflows/code-coverage.yml
902 Bytes
| 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 | |