name: Test

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

jobs:
  linux:
    name: Test on OTP ${{ matrix.otp_version }}
    runs-on: ${{ matrix.os }}
    
    strategy:
      matrix:
        otp_version: [21,22,23,24]
        os: [ubuntu-latest]
      
    container:
      image: erlang:${{ matrix.otp_version }}
    
    steps:
      - uses: actions/checkout@v2
      - name: Compile
        run: make
      - name: Test
        run: make test 

name: Test

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

jobs:
  linux:
    name: Test on OTP ${{ matrix.otp_version }}
    runs-on: ${{ matrix.os }}
    
    strategy:
      matrix:
        otp_version: [22,23,24]
        os: [ubuntu-latest]
      
    container:
      image: erlang:${{ matrix.otp_version }}
    
    steps:
      - uses: actions/checkout@v2
      - name: Compile
        run: make
      - name: Test
        run: make test 

Build on OTP 21 is deprecated
Build on OTP 21 is deprecated
