From: Yegappan Lakshmanan Date: Mon, 17 Jan 2022 01:16:15 +0000 (-0800) Subject: Add github action to run unit tests X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b7bedd6a47316be56964b0c8a45457840ee0e819;p=vim-lsp.git Add github action to run unit tests --- diff --git a/.github/workflows/unitests.yml b/.github/workflows/unitests.yml new file mode 100644 index 0000000..c58a36d --- /dev/null +++ b/.github/workflows/unitests.yml @@ -0,0 +1,24 @@ +name: unit-tests +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-13 + - name: Checkout Code + uses: actions/checkout@v2 + - name: Setup Vim + uses: rhysd/action-setup-vim@v1 + id: vim + with: + version: nightly + - name: Run Tests + run: | + uname -a + export VIMPRG=${{ steps.vim.outputs.executable }} + $VIMPRG --version + cd test + ./run_tests.sh