Skip to content

Commit

Permalink
chore: Set up CI with GH action
Browse files Browse the repository at this point in the history
- Drop the old, upstream Travis CI config.
- Add a `.tool-versions` so dev & test envs are consistent.
- Set up https://github.com/erlef/setup-beam GH action.
  • Loading branch information
sebn committed Dec 1, 2023
1 parent ede0db0 commit 4608713
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: test
run-name: Build & Test
on: [push]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
- run: rebar3 compile
- run: rebar3 eunit
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
erlang 25.3.2.7
rebar3 3.22.1
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 4608713

Please sign in to comment.