Skip to content

Commit

Permalink
Switch to OpenRiak
Browse files Browse the repository at this point in the history
As part of switch unnecessary eunit include removed to make OTP 26 ready
  • Loading branch information
martinsumner committed Sep 24, 2024
1 parent b5d811c commit 6906a30
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,32 @@ name: Erlang CI

on:
push:
branches: [ nhse-develop ]
branches:
- nhse-develop
pull_request:
branches: [ nhse-develop ]

branches:
- nhse-develop

jobs:

build:

runs-on: ubuntu-latest
name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
otp:
- "25.1"
- "24.3"
- "22.3"

container:
image: erlang:${{ matrix.otp }}
otp: [22, 24, 26]
os: [ubuntu-latest]

steps:
- uses: lukka/get-cmake@latest
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install Erlang/OTP
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp }}
- name: Compile
run: ./rebar3 compile
- name: Run xref and dialyzer
Expand Down
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

{eunit_opts, [verbose]}.

{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/nhs-riak/rebar3_gpb_plugin", {branch, "nhse-develop"}}},
{riak_pb_msgcodegen, {git, "https://github.com/nhs-riak/riak_pb_msgcodegen", {branch, "nhse-develop"}}},
{plugins, [{rebar3_gpb_plugin, {git, "https://github.com/OpenRiak/rebar3_gpb_plugin", {branch, "nhse-develop"}}},
{riak_pb_msgcodegen, {git, "https://github.com/OpenRiak/riak_pb_msgcodegen", {branch, "nhse-develop"}}},
{eqc_rebar, {git, "https://github.com/Quviq/eqc-rebar", {branch, "master"}}}
]}.

Expand Down
2 changes: 0 additions & 2 deletions src/riak_pb_dt_codec.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

-include("riak_dt_pb.hrl").

-include_lib("eunit/include/eunit.hrl").

-export([
encode_fetch_request/2,
encode_fetch_request/3,
Expand Down

0 comments on commit 6906a30

Please sign in to comment.