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 13, 2024
1 parent 78e5efa commit 00df5b4
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -20,6 +20,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 Down Expand Up @@ -61,6 +62,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
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

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

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

{cover_enabled, true}.
Expand Down

0 comments on commit 00df5b4

Please sign in to comment.