Skip to content

Commit 5781a23

Browse files
committed
tests.yml: Disable policy_module() selint checks.
It does not support single-parameter policy_module(). Signed-off-by: Chris PeBenito <[email protected]>
1 parent 78276fc commit 5781a23

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ jobs:
3636
- name: Run file context checker
3737
run: python3 -t -t -E -W error testing/check_fc_files.py
3838

39-
- name: Run SELint
40-
run: |
41-
# disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing
42-
# disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule
43-
selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy
39+
# Disable selint until it can handle a single parameter policy_module().
40+
# - name: Run SELint
41+
# run: |
42+
# # disable C-005 (Permissions in av rule or class declaration not ordered) for now: needs fixing
43+
# # disable W-005 (Interface call from module not in optional_policy block): refpolicy does not follow this rule
44+
# #selint --source --recursive --summary --fail --disable C-005 --disable W-005 policy
4445

4546
build:
4647
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)