Skip to content

Commit 74e4764

Browse files
committed
added github actions
1 parent 3ef51f0 commit 74e4764

File tree

3 files changed

+62
-0
lines changed

3 files changed

+62
-0
lines changed

.github/FUNDING.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# These are supported funding model platforms
2+
3+
github: gorenje # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: gorenje # Replace with a single Buy Me a Coffee username
14+
thanks_dev: # Replace with a single thanks.dev username
15+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/erlang.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Erlang CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
14+
build:
15+
16+
runs-on: ubuntu-24.04
17+
name: Erlang/OTP ${{matrix.otp}} / rebar3 ${{matrix.rebar3}}
18+
19+
env:
20+
ImageOS: ubuntu24 # equivalent to runs-on ubuntu-24.04
21+
SHELL: /bin/bash
22+
LANG: C.UTF-8
23+
NUMBER_OF_FLOWTESTS_IN_PARALLEL: 10
24+
25+
strategy:
26+
matrix:
27+
otp: ['27.3.3']
28+
rebar3: ['3.24.0']
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: awalsh128/cache-apt-pkgs-action@latest
32+
with:
33+
packages: inotify-tools mosquitto netcat-traditional i2c-tools
34+
version: 1.0
35+
- uses: erlef/setup-beam@v1
36+
with:
37+
otp-version: ${{matrix.otp}}
38+
rebar3-version: ${{matrix.rebar3}}
39+
- run: rebar3 compile
40+
- run: rebar3 do eunit, ct

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Erlang Parser for JSONata
22
=====
33

4+
[![Erlang CI](https://github.com/gorenje/erlang-red-jsonata/actions/workflows/erlang.yml/badge.svg)](https://github.com/gorenje/erlang-red-jsonata/actions/workflows/erlang.yml)
5+
46
Erlang parser implementation for the [JSONata](https://jsonata.org) transform language.
57

68
JSONata plays a central role in [Node-RED](https://nodered.org) - the low-code visual flow-based programming environment.
@@ -78,3 +80,8 @@ Test
7880
-----
7981
8082
$ rebar3 eunit
83+
84+
Coffee Time
85+
----
86+
87+
<a href="https://www.buymeacoffee.com/gorenje" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-red.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

0 commit comments

Comments
 (0)