Skip to content

Commit

Permalink
Merge pull request #2 from arcusfelis/add-ci
Browse files Browse the repository at this point in the history
Add rebar ct for github CI
  • Loading branch information
arcusfelis authored Aug 14, 2024
2 parents b8cba09 + c756f5f commit f1f4e0b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Erlang CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:${{ matrix.erlang-version }}
strategy:
matrix:
erlang-version: [25, 26, 27]
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 as test compile
- name: Run tests
run: rebar3 ct

0 comments on commit f1f4e0b

Please sign in to comment.