Skip to content

Commit

Permalink
Update to OpenRiak
Browse files Browse the repository at this point in the history
  • Loading branch information
martinsumner committed Sep 26, 2024
1 parent cf73dca commit 9fd12db
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
33 changes: 21 additions & 12 deletions .github/workflows/erlang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,34 @@ name: Erlang CI
on:
push:
branches:
- nhse-develop
- nhse-develop-3.0
- nhse-develop
pull_request:
branches:
- nhse-develop
- nhse-develop-3.0
- nhse-develop

jobs:

build:

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

container:
image: erlang:22.3.3
strategy:
fail-fast: false
matrix:
otp: [24]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- name: Compile
run: rebar3 compile
- name: Run tests
run: rebar3 do xref, dialyzer, eunit
- uses: lukka/get-cmake@latest
- 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
run: ./rebar3 do xref, dialyzer
- name: Run eunit
run: ./rebar3 as gha do eunit
4 changes: 2 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
]}.

{deps, [
{lz4, ".*", {git, "https://github.com/nhs-riak/erlang-lz4", {branch, "nhse-develop"}}},
{zstd, ".*", {git, "https://github.com/nhs-riak/zstd-erlang", {branch, "nhse-develop"}}}
{lz4, ".*", {git, "https://github.com/OpenRiak/erlang-lz4", {branch, "nhse-develop"}}},
{zstd, ".*", {git, "https://github.com/OpenRiak/zstd-erlang", {branch, "nhse-develop"}}}
]}.

{ct_opts, [{dir, ["test/end_to_end"]}]}.

0 comments on commit 9fd12db

Please sign in to comment.