Skip to content

Commit

Permalink
adding GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysGonchar authored Nov 24, 2020
1 parent b4b4ab2 commit c44b00b
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: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: ${{ matrix.test-type }} test on OTP ${{matrix.otp}}
strategy:
matrix:
otp: ['22.3', '21.3']
test-type: [ 'regular' , 'integration' ]
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v2
- uses: ErlGang/setup-erlang@v1.0.0
with:
otp-version: ${{ matrix.otp }}
- if: matrix.test-type == 'regular'
run: make test
- if: matrix.test-type == 'integration'
run: make integration_test

0 comments on commit c44b00b

Please sign in to comment.