diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 8d76c7d..c11fdb5 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -2,9 +2,10 @@ name: Erlang CI on: push: - branches: [ develop-3.0 ] + branches: [ develop ] pull_request: - branches: [ develop-3.0 ] + branches: [ develop ] + jobs: @@ -12,12 +13,23 @@ jobs: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + otp: + - "25.1" + - "24.3" + - "22.3" + container: - image: erlang:22.3.3 + image: erlang:${{ matrix.otp }} 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@v2 + - name: Compile + run: ./rebar3 compile + - name: Run xref and dialyzer + run: ./rebar3 do xref, dialyzer + - name: Run eunit + run: ./rebar3 as gha do eunit diff --git a/.thumbs.yml b/.thumbs.yml deleted file mode 100644 index 24f8fea..0000000 --- a/.thumbs.yml +++ /dev/null @@ -1,17 +0,0 @@ -minimum_reviewers: 2 -merge: true -merge_method: merge -build_steps: - # clean relevant profiles to ensure they succeed - - rebar3 clean --all - - rebar3 as test clean --all - # compile relevant profiles to ensure they succeed - - rebar3 compile - - rebar3 as test compile - # these are the real tests - - rebar3 eunit - - rebar3 dialyzer - # last, but not least, do the docs build? - - rebar3 edoc -org_mode: true -timeout: 1800 diff --git a/rebar.config b/rebar.config index d7c8a87..b04df49 100644 --- a/rebar.config +++ b/rebar.config @@ -1,3 +1,4 @@ +{minimum_otp_vsn, "22.0"}. {erl_opts, [ debug_info, warnings_as_errors, @@ -10,3 +11,6 @@ ]}. {xref_checks, [undefined_function_calls, deprecated_function_calls]}. {eunit_opts, [verbose]}. +{profiles, [ + {gha, [{erl_opts, [{d, 'GITHUBEXCLUDE'}]}]} +]}. diff --git a/rebar3 b/rebar3 index f0b1ba7..a83d554 100755 Binary files a/rebar3 and b/rebar3 differ