Skip to content

Prepare release 2.0.1 #82

Prepare release 2.0.1

Prepare release 2.0.1 #82

name: Build and Test
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
build:
name: Build and test
runs-on: ubuntu-20.04
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
include:
- pair:
elixir: 1.13.4
otp: 23.3
build-flags:
- pair:
elixir: 1.14.5
otp: 24.3
build-flags:
- pair:
elixir: 1.15.7
otp: 25.3
build-flags:
- pair:
elixir: 1.16.2
otp: 26.2
- pair:
elixir: 1.17.2
otp: 27.0
build-flags: --warnings-as-errors
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Elixir Project
uses: ./.github/actions/elixir-setup
with:
elixir-version: ${{ matrix.pair.elixir }}
otp-version: ${{ matrix.pair.otp }}
build-flags: --all-warnings ${{ matrix.build-flags }}
- name: Run Tests
run: mix coveralls.github ${{ matrix.build-flags }}
if: always()