Skip to content

Commit

Permalink
Separate rebar3_lint and eunit in CI
Browse files Browse the repository at this point in the history
rebar3_lint is 24+, these days, and adding more exceptions
to CI just makes it more complex to maintain, I believe
  • Loading branch information
paulo-ferraz-oliveira committed Jun 8, 2024
1 parent ddf31bb commit 13e7560
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- otp_version: 25
os: ubuntu-22.04
rebar3_version: 3.22
latest: true
- otp_version: 24
os: ubuntu-22.04
rebar3_version: 3.22
Expand All @@ -39,6 +40,8 @@ jobs:

- name: Compile
run: rebar3 compile
- name: Lint
run: if [[ "${{ matrix.latest }}" == "true" ]]; then rebar3 lint; fi
- name: EUnit tests
run: rebar3 eunit
- name: Dialyzer
Expand Down
3 changes: 1 addition & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@

{project_plugins, [
{covertool, "2.0.6"},
{rebar3_lint, "1.0.2"}
{rebar3_lint, "3.2.5"}
]}.

{provider_hooks, [{pre, [{eunit, lint}]}]}.
{dialyzer, [{plt_extra_apps, [ssl]}]}.

{cover_enabled, true}.
Expand Down

0 comments on commit 13e7560

Please sign in to comment.