Create test.yml

Add action which builds and tests on pull and pr's to master
This commit is contained in:
Maas-Maarten Zeeman
2020-10-28 21:30:28 +01:00
committed by GitHub
parent b7c68f7f2e
commit 298580e500

27
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
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