Skip to content

Commit

Permalink
Add GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed May 13, 2021
1 parent 2f1e01a commit 47cce6b
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
otp: [21.3, 22.0.7, 22.3, 23.0.4, 23.2.7.0, 24.0]
container:
image: erlang:${{ matrix.otp }}-alpine
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Tests
run: |
rebar3 xref
rebar3 dialyzer
rebar3 eunit
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ rel/example_project
.concrete/DEV_MODE
.rebar
_build
rebar3
rebar3
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# bellboy
Bellboy - is Erlang `HTTP` client library for send **[SMS](https://en.wikipedia.org/wiki/SMS)** by different services: **Plivo**, **Twilio**, **Nexmo**.

[![Hex.pm Version](https://img.shields.io/hexpm/v/bellboy.svg?style=flat-square)](https://hex.pm/packages/bellboy)
[![Hex.pm Version](https://img.shields.io/hexpm/v/bellboy.svg)](https://hex.pm/packages/bellboy)

[![Build Status](https://github.com/vkatsuba/bellboy/workflows/CI/badge.svg)](https://github.com/vkatsuba/bellboy/actions)

## Contents
* [Goals](#goals)
Expand Down
4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
]}.

{plugins, [rebar3_hex]}.

{xref_checks, [
undefined_functions
]}.

0 comments on commit 47cce6b

Please sign in to comment.