Skip to content

Commit

Permalink
start use GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Sep 22, 2021
1 parent ae40904 commit 0e625a1
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 13 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
workflow_dispatch:

jobs:
test_till_otp_22:
name: Run tests on OTP ${{matrix.otp}}
strategy:
matrix:
otp: [21.3]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
rebar3-version: '3.15.2'
- run: rebar3 compile
- run: rebar3 xref
- run: rebar3 dialyzer
- run: rebar3 eunit
- run: rebar3 ct

test_till_otp_24:
name: Run tests on OTP ${{matrix.otp}}
strategy:
matrix:
otp: [22.3, 23.3, 24.1]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
rebar3-version: '3.17'
- run: rebar3 compile
- run: rebar3 xref
- run: rebar3 dialyzer
- run: rebar3 eunit
- run: rebar3 ct
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 0e625a1

Please sign in to comment.