Skip to content

Import .coverdata after test run and improve documentation (#309) #195

Import .coverdata after test run and improve documentation (#309)

Import .coverdata after test run and improve documentation (#309) #195

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
tests:
name: Run Tests
runs-on: ubuntu-20.04
strategy:
matrix:
include:
- otp: '21.3'
elixir: '1.11'
- otp: '26.0'
elixir: '1.15'
env:
MIX_ENV: test
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
key: ${{ runner.os }}-${{ matrix.elixir }}-otp${{ matrix.otp }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }}
restore-keys: |
${{ runner.os }}-${{ matrix.elixir }}-otp${{ matrix.otp }}-mix-
- run: mix deps.get
- run: mix coveralls.github