You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2021/10/29 14:54:53 UTC

[couchdb-erlfdb] 01/01: Add a basic CI config for rebar2

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch github-actions
in repository https://gitbox.apache.org/repos/asf/couchdb-erlfdb.git

commit 351f10066bec0c23d122afffac29c59af29b1f6b
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Fri Oct 29 10:54:16 2021 -0400

    Add a basic CI config for rebar2
---
 .github/workflows/rebar.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/.github/workflows/rebar.yml b/.github/workflows/rebar.yml
new file mode 100644
index 0000000..6101f38
--- /dev/null
+++ b/.github/workflows/rebar.yml
@@ -0,0 +1,22 @@
+name: Rebar CI
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+
+jobs:
+
+  build:
+
+    runs-on: ubuntu-latest
+
+    container:
+      image: erlang:24
+
+    steps:
+    - uses: actions/checkout@v2
+    - name: Compile
+      run: rebar compile
+    - name: Run tests
+      run: rebar eunit