Create test.yml
Add action which builds and tests on pull and pr's to master
This commit is contained in:
committed by
GitHub
parent
b7c68f7f2e
commit
298580e500
27
.github/workflows/test.yml
vendored
Normal file
27
.github/workflows/test.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user