Runtime: Add Xref options to be as strict as CI

This commit is contained in:
Badlop 2022-06-10 17:45:15 +02:00
parent 6d39af7dd6
commit 382c3836af
1 changed files with 8 additions and 0 deletions

View File

@ -69,6 +69,14 @@ jobs:
make update
make
- name: Prepare rebar
run: |
echo '{xref_ignores, [{eldap_filter_yecc, return_error, 2}
]}.' >>rebar.config
echo '{xref_checks, [deprecated_function_calls, deprecated_functions,
locals_not_used, undefined_function_calls, undefined_functions]}.
% Disabled: exports_not_used,' >>rebar.config
- run: make xref
- name: Test rel (rebar2)