Skip to content

Commit

Permalink
add github workflows test
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Jul 3, 2021
1 parent 8bcf67c commit 6ad0b1f
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: test

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.2", "5.3", "luajit", "luajit-openresty"]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- uses: leafo/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}

- uses: leafo/gh-actions-luarocks@master

- name: build
run: |
luarocks install busted
luarocks make
- name: test
run: |
busted -o utfTerminal

0 comments on commit 6ad0b1f

Please sign in to comment.