From: Yegappan Lakshmanan Date: Sat, 22 Jan 2022 16:46:15 +0000 (-0800) Subject: Github action covimerage doesn't work for Vim9 scripts X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=e16624d6dffd7fb82d01dafcbc24d6c2bdb384f4;p=vim-lsp.git Github action covimerage doesn't work for Vim9 scripts --- diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b4b1e29..9b5c9f5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,48 +1,48 @@ -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