aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/check.yml')
-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