]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
Github action covimerage doesn't work for Vim9 scripts
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 22 Jan 2022 16:46:15 +0000 (08:46 -0800)
committerYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 22 Jan 2022 16:46:15 +0000 (08:46 -0800)
.github/workflows/coverage.yml

index b4b1e299dfda2a519e9f8cd5890f495d50f5c6d8..9b5c9f5a7afd751c25a608d1eb7a4bdf7d7c961a 100644 (file)
@@ -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