Fix upstream warnings under Elixir 1.16 (#215) #172
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: tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
name: Run Tests | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
otp: ['21','23'] | |
elixir: ['1.10', '1.11'] | |
global-mock: [true, false] | |
include: | |
- otp: '26' | |
elixir: '1.14' | |
global-mock: true | |
- otp: '26' | |
elixir: '1.14' | |
global-mock: false | |
env: | |
MIX_ENV: test | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GLOBAL_MOCK: ${{ matrix.global-mock }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp }} | |
elixir-version: ${{ matrix.elixir }} | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
deps | |
_build | |
key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix- | |
- run: mix deps.get | |
- uses: nick-invision/retry@v2 | |
with: | |
timeout_minutes: 3 | |
max_attempts: 3 | |
shell: bash | |
command: mix coveralls.github |