aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2021-08-16 14:04:39 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2021-08-16 14:09:26 +0200
commit29b50c08a7e8524797549354a2e5063974c0e1b2 (patch)
tree26afb1bdd77762d67b3803c8068eab5f9cbdf5a5 /.github
parent483ed22f686010cb9fe6f8ec4512263dd8d95706 (diff)
downloadvis-lspc-29b50c08a7e8524797549354a2e5063974c0e1b2.tar.gz
vis-lspc-29b50c08a7e8524797549354a2e5063974c0e1b2.zip
add tests for the LSP message parser
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check.yml16
1 files changed, 12 insertions, 4 deletions
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