Skip to content

📚 coveralls

📚 coveralls #2

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
env:
MIX_ENV: test
name: OTP ${{matrix.pair.otp}} / Elixir ${{matrix.pair.elixir}}
strategy:
fail-fast: false
matrix:
include:
- pair:
otp: 26.2
elixir: 1.16
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-elixir@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}
- name: "Compile and Test Library"
run: |
mix do deps.get, deps.compile, compile
mix test
- name: "Coverage"
run: mix coveralls.github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}