From 29b50c08a7e8524797549354a2e5063974c0e1b2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 16 Aug 2021 14:04:39 +0200 Subject: add tests for the LSP message parser --- .github/workflows/check.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to '.github') diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index fb5ddf2..d33d6af 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,12 +15,8 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" check: - # The type of runner that the job will run on runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 @@ -37,3 +33,15 @@ jobs: - name: static analysis run: make check-luacheck + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: install dependencies + run: | + sudo apt-get -y install luarocks + sudo luarocks install lunatest + + - name: run test + run: make test -- cgit v1.2.3