From 5781a2393cfbc6592cf52abff1eda08afb15c898 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 6 Jan 2022 09:04:52 -0500 Subject: [PATCH] tests.yml: Disable policy_module() selint checks. It does not support single-parameter policy_module(). Signed-off-by: Chris PeBenito --- .github/workflows/tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e26bab8a..0fda7706b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,11 +36,12 @@ jobs: - name: Run file context checker run: python3 -t -t -E -W error testing/check_fc_files.py - - name: Run SELint - run: | - # disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing - # disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule - selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy +# Disable selint until it can handle a single parameter policy_module(). +# - name: Run SELint +# run: | +# # disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing +# # disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule +# #selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy build: runs-on: ubuntu-latest