Skip to content

feat: add tests (#45) #16

feat: add tests (#45)

feat: add tests (#45) #16

Workflow file for this run

name: Coveralls
on: push
jobs:
coveralls:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-coveralls-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-coveralls-
- uses: erlef/setup-beam@v1
with:
otp-version: 25.1.2
elixir-version: 1.14.2
- run: mix deps.get
- run: MIX_ENV=test mix coveralls.json
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}