File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 77 runs-on : ubuntu-latest
88 name : Run compliance checks on patch series (PR)
99 steps :
10+ - name : Update PATH for west
11+ run : |
12+ echo "$HOME/.local/bin" >> $GITHUB_PATH
13+
1014 - name : Checkout the code
11- uses : actions/checkout@v1
15+ uses : actions/checkout@v2
16+ with :
17+ ref : ${{ github.base_ref }}
1218
1319 - name : cache-pip
1420 uses : actions/cache@v1
@@ -23,15 +29,21 @@ jobs:
2329 pip3 install python-magic junitparser gitlint pylint pykwalify
2430 pip3 install west
2531
32+ - name : west setup
33+ run : |
34+ west init -l . || true
35+ west update
36+
2637 - name : Run Compliance Tests
2738 id : compliance
2839 env :
2940 BASE_REF : ${{ github.base_ref }}
3041 run : |
31- export PATH=$PATH:~/.local/bin
3242 export ZEPHYR_BASE=$PWD
3343 git config --global user.email "[email protected] " 3444 git config --global user.name "Your Name"
45+ ls -la
46+ git remote -v
3547 git rebase origin/${BASE_REF}
3648 ./scripts/ci/check_compliance.py -m Codeowners -m Devicetree -m Gitlint -m Identity -m Nits -m pylint -m checkpatch -m Kconfig -c origin/${BASE_REF}.. || true
3749
You can’t perform that action at this time.
0 commit comments