Skip to content

Commit 44e7156

Browse files
committed
feat: add CI workflow
1 parent 3f60ef1 commit 44e7156

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/run_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+
workflow_dispatch:
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-24.04
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Erlang
18+
uses: erlef/setup-beam@v1
19+
with:
20+
otp-version: "26"
21+
rebar3-version: "3"
22+
23+
- name: Start Dependencies
24+
run: make up
25+
26+
- name: Run Tests
27+
run: make ct
28+
29+
- name: Cleanup
30+
if: always()
31+
run: make down

0 commit comments

Comments
 (0)