name: Common Test
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'master'
|
|
push:
|
|
branches:
|
|
- 'master'
|
|
|
|
jobs:
|
|
build:
|
|
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
otp_version: [19, 20, 21, 22, 23]
|
|
os: [ubuntu-latest]
|
|
|
|
container:
|
|
image: erlang:${{ matrix.otp_version }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Compile
|
|
run: ./bootstrap
|
|
- name: CT tests
|
|
run: ./rebar3 ct
|