Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,30 @@ jobs:
otp_version: [26, 27, 28]
os: [ubuntu-latest, windows-latest]
steps:
- name: CHECKOUT
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: CONFIGURE ERLANG
- name: Configure Erlang
# Pin setup-beam to a version that works with Windows (not released at
# the time of commit).
uses: erlef/setup-beam@566deebc640988a494af16ecdf6f820fe0d3fea4
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.25.1'
- name: XREF
- name: Update Hex registry
run: rebar3 update
- name: Xref
if: ${{ matrix.os == 'ubuntu-latest'}}
run: rebar3 xref
- name: DIALYZE
- name: Dialyze
if: ${{ matrix.otp_version == 28 && matrix.os == 'ubuntu-latest'}}
run: rebar3 dialyzer
- name: BUILD
- name: Build
run: rebar3 compile
- name: EUNIT
- name: EUnit
run: rebar3 eunit
- name: COMMON TEST
- name: Common test
run: rebar3 ct
- name: CAPTURE TEST LOGS ON FAILURE
- name: Capture test logs on failure
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
if: failure()
with:
Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{deps, [
{gen_batch_server, "0.8.9"},
{gen_batch_server, "0.9.1"},
{aten, "0.6.0"},
{seshat, "1.0.1"}
]}.
Expand Down
6 changes: 3 additions & 3 deletions rebar.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{"1.2.0",
[{<<"aten">>,{pkg,<<"aten">>,<<"0.6.0">>},0},
{<<"gen_batch_server">>,{pkg,<<"gen_batch_server">>,<<"0.8.9">>},0},
{<<"gen_batch_server">>,{pkg,<<"gen_batch_server">>,<<"0.9.1">>},0},
{<<"seshat">>,{pkg,<<"seshat">>,<<"1.0.1">>},0}]}.
[
{pkg_hash,[
{<<"aten">>, <<"7A57B275A6DAF515AC3683FB9853E280B4D0DCDD74292FD66AC4A01C8694F8C7">>},
{<<"gen_batch_server">>, <<"1C6BC0F530BF8C17E8B4ACC20C2CC369FFA5BEE2B46DE01E21410745F24B1BC9">>},
{<<"gen_batch_server">>, <<"B3DDAFA34861DA6F6B2369E42A20B7C51884C9C678C72AEB934264452B2AAB34">>},
{<<"seshat">>, <<"FA7A8E89218D19394F7DDC47BA6725471103D654CD0BD0A98E5FDD922A943EAC">>}]},
{pkg_hash_ext,[
{<<"aten">>, <<"5F39A164206AE3F211EF5880B1F7819415686436E3229D30B6A058564FBAA168">>},
{<<"gen_batch_server">>, <<"C8581FE4A4B6BCCF91E53CE6A8C7E6C27C8C591BAB5408B160166463F5579C22">>},
{<<"gen_batch_server">>, <<"2118E5E6B1CD58768EC3426763CBB18C918A4E649B38B301BF21BD7275FD6182">>},
{<<"seshat">>, <<"38324FE8C5782C69D73B334DD00B20E16C0D99EEF3E7B4005C519FE9BC0E34FC">>}]}
].
2 changes: 1 addition & 1 deletion test/ra_log_2_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2461,7 +2461,7 @@ dual_flush_does_not_delete_needed_segments(Config) ->
%% with the segments from the first flush. ra_log:init must not delete
%% segment files that the reader still references after compact_segrefs
%% truncates their ranges.
UId = ?config(uid, Config),
_UId = ?config(uid, Config),
WalDir = ?config(work_dir, Config),
WalDataDir = filename:join(WalDir, atom_to_list(node())),

Expand Down
2 changes: 1 addition & 1 deletion test/ra_log_wal_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1713,7 +1713,7 @@ recover_multi_wal_with_concurrent_deletes(Config) ->
ok = logger:set_primary_config(level, all),
Conf = ?config(wal_conf, Config),
{UId, _} = WriterId = ?config(writer_id, Config),
Names = ?config(names, Config),
_Names = ?config(names, Config),
Data = <<42:256/unit:8>>,
meck:new(ra_log_segment_writer, [passthrough]),
meck:expect(ra_log_segment_writer, await, fun(_) -> ok end),
Expand Down
Loading