Skip to content

Merge pull request #9 from zotonic/mixed-list #18

Merge pull request #9 from zotonic/mixed-list

Merge pull request #9 from zotonic/mixed-list #18

Workflow file for this run

# Run tests and dialyzer
name: Test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
linux:
name: Test on OTP ${{ matrix.otp_version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
otp_version: [24,25,26]
os: [ubuntu-latest]
container:
image: erlang:${{ matrix.otp_version }}
steps:
- uses: actions/checkout@v3
- name: Compile
run: make
- name: Test
run: make test
- name: XRef
run: make xref
- name: Dialyzer
run: make dialyzer