-name: coverage
-on: [push, pull_request]
-jobs:
- linux:
- name: linux
- runs-on: ubuntu-latest
- steps:
- - name: Install packages
- run: |
- sudo apt update && sudo apt install -y clangd-12
- - name: Setup Vim
- id: vim
- uses: rhysd/action-setup-vim@v1
- with:
- version: nightly
- - name: Checkout LSP Code
- uses: actions/checkout@v2
- - name: Run Tests
- env:
- LSP_PROFILE: 1
- VIMPRG: ${{ steps.vim.outputs.executable }}
- run: |
- uname -a
- $VIMPRG --version
- cd ./test
- ./run_tests.sh
- - name: Install Python
- uses: actions/setup-python@v2
- with:
- python-version: 3.5
- - name: Install covimerage
- run: |
- pip install covimerage
- covimerage --version
- - name: Run covimerage
- run: |
- cd ./test
- covimerage write_coverage lsp_profile.txt
- - name: Take coverage
- run: |
- cd ./test
- coverage report
- coverage xml
- - name: Upload coverage to codecov
- uses: codecov/codecov-action@v2
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
- file: ./test/coverage.xml
+name: Code coverage
+#on: [push, pull_request]
+#jobs:
+# linux:
+# name: linux
+# runs-on: ubuntu-latest
+# steps:
+# - name: Install packages
+# run: |
+# sudo apt update && sudo apt install -y clangd-12
+# - name: Setup Vim
+# id: vim
+# uses: rhysd/action-setup-vim@v1
+# with:
+# version: nightly
+# - name: Checkout LSP Code
+# uses: actions/checkout@v2
+# - name: Run Tests
+# env:
+# LSP_PROFILE: 1
+# VIMPRG: ${{ steps.vim.outputs.executable }}
+# run: |
+# uname -a
+# $VIMPRG --version
+# cd ./test
+# ./run_tests.sh
+# - name: Install Python
+# uses: actions/setup-python@v2
+# with:
+# python-version: 3.5
+# - name: Install covimerage
+# run: |
+# pip install covimerage
+# covimerage --version
+# - name: Run covimerage
+# run: |
+# cd ./test
+# covimerage write_coverage lsp_profile.txt
+# - name: Take coverage
+# run: |
+# cd ./test
+# coverage report
+# coverage xml
+# - name: Upload coverage to codecov
+# uses: codecov/codecov-action@v2
+# with:
+# token: ${{ secrets.CODECOV_TOKEN }}
+# file: ./test/coverage.xml