Skip to content

Commit

Permalink
add workflow for test
Browse files Browse the repository at this point in the history
  • Loading branch information
n451 committed Feb 8, 2024
1 parent 632d921 commit 6b186f9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "spec"

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
luaVersion: ["5.1", "5.2", "5.3", "5.4", "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
- name: test
run: |
busted -o utfTerminal

0 comments on commit 6b186f9

Please sign in to comment.