Skip to content

Commit

Permalink
tests.yml: Disable policy_module() selint checks.
Browse files Browse the repository at this point in the history
It does not support single-parameter policy_module().

Signed-off-by: Chris PeBenito <[email protected]>
  • Loading branch information
pebenito committed Jan 6, 2022
1 parent 78276fc commit 5781a23
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5781a23

Please sign in to comment.