chore: Fix test builds with meck incompatibilities. #143
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**.md' #Do not need to run CI for markdown changes. | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
workflow_dispatch: | |
jobs: | |
build-test: | |
strategy: | |
# We want to know the status of all OTP versions, not just if one of them fails. | |
fail-fast: false | |
matrix: | |
versions: | |
- {os: 'ubuntu-20.04', otp: '21.x', rebar: '3.15.2'} | |
- {os: 'ubuntu-22.04', otp: '25.x', rebar: '3.18.0'} | |
- {os: 'ubuntu-22.04', otp: '27.x', rebar: '3.23.0'} | |
runs-on: ${{ matrix.versions.os }} | |
name: Build and Test - ${{ matrix.versions.otp }} | |
steps: | |
- uses: erlef/setup-beam@v1 | |
with: | |
version-type: loose | |
otp-version: ${{ matrix.versions.otp }} | |
rebar3-version: ${{ matrix.versions.rebar }} | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/ci | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
env: | |
OTP_VER: ${{ matrix.versions.otp }} |