Skip to content

add Github CI for waiver syntax check, fix waivers #2

add Github CI for waiver syntax check, fix waivers

add Github CI for waiver syntax check, fix waivers #2

name: Check conf/waivers syntax
on:
pull_request:
jobs:
# Build job
syntax-check:
runs-on: ubuntu-latest
steps:
- name: Collect waivers
run: |
pwd
ls -l
ls -l -R
python3 <<'EOF'
import sys
from lib import waive
try:
list(waive.collect_waivers())
sys.exit(0)
except waive.WaiveParseError as e:
print(str(e))
sys.exit(1)
EOF