28 lines
478 B
YAML
28 lines
478 B
YAML
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]
|
|
os: [ubuntu-latest]
|
|
|
|
container:
|
|
image: erlang:${{ matrix.otp_version }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Compile
|
|
run: make
|
|
- name: Test
|
|
run: make test
|