Skip to content

refactor: improve CMakeLists #252

refactor: improve CMakeLists

refactor: improve CMakeLists #252

Workflow file for this run

name: Test
on: push
env:
STORAGE_PATH: ./storage
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
id: beam
with:
otp-version: "25"
elixir-version: "1.15"
- run: sudo apt-get install -y inotify-tools
- name: Restore Cached Dependencies
uses: actions/cache@v4
id: mix-cache
with:
path: deps
key: ${{ runner.os }}-${{ steps.beam.outputs.elixir-version }}-${{ steps.beam.outputs.otp-version }}-${{ hashFiles('mix.lock') }}
- name: Install Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: mix deps.get
- name: Check Codebase Standard
run: |
mix format --check-formatted
mix credo
- name: Run Tests
run: mix coveralls.json
- name: Upload Coverage Reports
uses: codecov/codecov-action@v4
with:
directory: ./cover
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}