Skip to content

Break up get_svg func, clean up specs #43

Break up get_svg func, clean up specs

Break up get_svg func, clean up specs #43

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
workflow_call:
jobs:
mix-tests:
name: Mix tests
runs-on: ubuntu-latest
env:
ImageOS: ubuntu22
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Elixir
uses: erlef/setup-elixir@v1
with:
otp-version: 26
elixir-version: 1.15
rebar3-version: 3.22
- name: Check formatting
run: mix format --check-formatted
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install Dependencies
run: mix deps.get --only test --verbose
- name: Run unit tests
run: mix test
env:
MIX_ENV: test