Skip to content

Commit

Permalink
Test on OTP 25 + Remove Elvis
Browse files Browse the repository at this point in the history
  • Loading branch information
lpgauth committed Mar 30, 2023
1 parent de60419 commit 6aff079
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 49 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
erlang: [19, 20, 21, 22, 23, 24]
erlang: [21, 22, 23, 24, 25]

container:
image: erlang:${{ matrix.erlang }}
Expand All @@ -14,8 +14,6 @@ jobs:
- uses: actions/checkout@v1
- name: Compile
run: make compile
- name: Elvis rock
run: make elvis
- name: Run xref
run: make xref
- name: Run eunit
Expand Down
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
CACHEGRIND=qcachegrind
ELVIS=./bin/elvis
REBAR3=$(shell which rebar3)
ifeq ($(REBAR3),)
REBAR3=./bin/rebar3
Expand Down Expand Up @@ -28,10 +27,6 @@ edoc:
@echo "Running rebar3 edoc..."
@$(REBAR3) as edoc edoc

elvis:
@echo "Running elvis rock..."
@$(ELVIS) rock

eunit:
@echo "Running rebar3 eunit..."
@$(REBAR3) do eunit -cv, cover -v
Expand All @@ -43,10 +38,10 @@ profile:
@_build/profile/lib/fprofx/erlgrindx -p fprofx.analysis
@$(CACHEGRIND) fprofx.cgrind

test: elvis xref eunit dialyzer
test: xref eunit dialyzer

xref:
@echo "Running rebar3 xref..."
@$(REBAR3) xref

.PHONY: bench clean compile dialyzer edoc elvis eunit profile xref
.PHONY: bench clean compile dialyzer edoc eunit profile xref
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ key(Client, Key) ->

```makefile
make dialyzer
make elvis
make eunit
make xref
```
Expand Down
Binary file removed bin/elvis
Binary file not shown.
35 changes: 0 additions & 35 deletions elvis.config

This file was deleted.

6 changes: 3 additions & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

{erl_opts, [
debug_info,
{platform_define, "^21.3|^22|^23|^24", 'ATOMICS'},
{platform_define, "^23|^24", 'DECENTRALIZED_COUNTERS'},
{platform_define, "^21.3|^22|^23|^24|^25", 'ATOMICS'},
{platform_define, "^23|^24|^25", 'DECENTRALIZED_COUNTERS'},
{platform_define, "^18|^19|^2", 'ETS_TAKE'},
{platform_define, "^21|^22|^23|^24", 'SSL_HANDSHAKE'}
{platform_define, "^21|^22|^23|^24|^25", 'SSL_HANDSHAKE'}
]}.

{plugins, [rebar3_hex]}.
Expand Down

0 comments on commit 6aff079

Please sign in to comment.