Lines Matching +full:- +full:- +full:exit +full:- +full:code

6     - edited
7 - opened
8 - reopened
9 - synchronize
13 runs-on: ubuntu-22.04
16 - name: Update PATH for west
20 - name: Checkout the code
24 fetch-depth: 0
26 - name: Rebase onto the target branch
30 git config --global user.email "you@example.com"
31 git config --global user.name "Your Name"
32 git remote -v
34 [[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
36 rm -fr ".git/rebase-apply"
37 rm -fr ".git/rebase-merge"
39 git clean -f -d
41 git log --pretty=oneline | head -n 10
43 - name: Set up Python
44 uses: actions/setup-python@v5
46 python-version: 3.11
48 - name: cache-pip
52 key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/compliance.yml') }}
54 - name: Install python dependencies
56 pip install -r scripts/requirements-compliance.txt
59 - name: west setup
61 west init -l . || true
62 west config manifest.group-filter -- +ci,-optional
63 …west update -o=--depth=1 -n 2>&1 1> west.update.log || west update -o=--depth=1 -n 2>&1 1> west.up…
65 - name: Check for PR description
67 continue-on-error: true
71 exit 1
73 - name: Run Compliance Tests
74 continue-on-error: true
81 ls -la
82 git log --pretty=oneline | head -n 10
85 ./scripts/ci/check_compliance.py --annotate -e KconfigBasic -e ClangFormat \
86 -c origin/${BASE_REF}..
88 - name: upload-results
89 uses: actions/upload-artifact@v4
90 continue-on-error: true
95 - name: check-warns
97 if [[ ! -s "compliance.xml" ]]; then
98 exit 1;
102 files=($(./scripts/ci/check_compliance.py -l))
106 if [[ -s $f ]]; then
116 exit=1
121 if [ "${exit}" == "1" ]; then
124 exit 1;
129 exit 1;