@@ -14,38 +14,32 @@ jobs:
1414 ref : ${{ github.event.pull_request.head.sha }}
1515 fetch-depth : 0
1616
17- - name : Install python dependencies
17+ - name : Install west
1818 run : |
19- export PATH="$HOME/.local/bin:$PATH"
20- # TODO: add yamllint to scripts/requirements-fixed.txt
21- pip3 install -U yamllint
22- pip3 install lxml
23- pip3 install -U python-magic junitparser==2.8.0 gitlint pylint pykwalify
24- pip3 install -U unidiff
25- pip3 install --user -U west
26- pip3 show -f west
19+ pip install west
20+ pip show -f west
2721
2822 - name : West init and update
2923 working-directory : ncs
3024 env :
3125 PR_REF : ${{ github.event.pull_request.head.sha }}
3226 run : |
33- export PATH="$HOME/.local/bin:$PATH"
34- export PATH="$HOME/bin:$PATH"
3527 west init -m https://github.com/nrfconnect/sdk-nrf
3628 west update
3729 west zephyr-export
3830 # west update will override the ref, so check it out again
3931 git -C nrfxlib checkout ${PR_REF}
4032
33+ - name : Install requirements
34+ working-directory : ncs
35+ run : pip install -r zephyr/scripts/requirements-actions.txt --require-hashes
36+
4137 - name : Run Compliance Tests
4238 continue-on-error : true
4339 env :
4440 BASE_REF : ${{ github.base_ref }}
4541 working-directory : ncs/nrfxlib
4642 run : |
47- export PATH="$HOME/.local/bin:$PATH"
48- export PATH="$HOME/bin:$PATH"
4943 export ZEPHYR_BASE="$(dirname "$(pwd)")/zephyr"
5044 git config --global user.email "you@example.com"
5145 git config --global user.name "Your Name"
0 commit comments