Skip to content

Commit 05198ed

Browse files
committed
Add github action and update README
1 parent eed3c5a commit 05198ed

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/workflows/tests.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
lua-version: ["5.1", "5.2", "5.3", "5.4"]
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Lua
20+
uses: leafo/gh-actions-lua@v10
21+
with:
22+
luaVersion: ${{ matrix.lua-version }}
23+
24+
- name: Setup LuaRocks
25+
uses: leafo/gh-actions-luarocks@v4
26+
27+
- name: Install dependencies
28+
run: luarocks install busted
29+
30+
- name: Run tests
31+
run: busted

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# adf2md
22

3+
[![Tests](https://github.com/quiqueporta/adf2md/actions/workflows/tests.yml/badge.svg)](https://github.com/quiqueporta/adf2md/actions/workflows/tests.yml)
4+
![Lua](https://img.shields.io/badge/Lua-5.1%20|%205.2%20|%205.3%20|%205.4-blue.svg)
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
6+
37
A Lua library to convert [Atlassian Document Format (ADF)](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/) to Markdown.
48

59
## Installation

0 commit comments

Comments
 (0)