Skip to content

Merge pull request #3 from Eptwalabha/Eptwalabha-patch-ci-workflow_di… #33

Merge pull request #3 from Eptwalabha/Eptwalabha-patch-ci-workflow_di…

Merge pull request #3 from Eptwalabha/Eptwalabha-patch-ci-workflow_di… #33

Workflow file for this run

name: Erlang CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:24
steps:
- uses: actions/checkout@v4
- name: Compile
run: rebar3 compile
- name: Run dialyzer
run: rebar3 dialyzer
- name: Run linter
run: rebar3 lint
- name: Run tests
run: rebar3 eunit --cover
- name: Run cover
run: rebar3 cover -m 100