@@ -14,38 +14,32 @@ jobs:
14
14
ref : ${{ github.event.pull_request.head.sha }}
15
15
fetch-depth : 0
16
16
17
- - name : Install python dependencies
17
+ - name : Install west
18
18
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
27
21
28
22
- name : West init and update
29
23
working-directory : ncs
30
24
env :
31
25
PR_REF : ${{ github.event.pull_request.head.sha }}
32
26
run : |
33
- export PATH="$HOME/.local/bin:$PATH"
34
- export PATH="$HOME/bin:$PATH"
35
27
west init -m https://github.com/nrfconnect/sdk-nrf
36
28
west update
37
29
west zephyr-export
38
30
# west update will override the ref, so check it out again
39
31
git -C nrfxlib checkout ${PR_REF}
40
32
33
+ - name : Install requirements
34
+ working-directory : ncs
35
+ run : pip install -r zephyr/scripts/requirements-actions.txt --require-hashes
36
+
41
37
- name : Run Compliance Tests
42
38
continue-on-error : true
43
39
env :
44
40
BASE_REF : ${{ github.base_ref }}
45
41
working-directory : ncs/nrfxlib
46
42
run : |
47
- export PATH="$HOME/.local/bin:$PATH"
48
- export PATH="$HOME/bin:$PATH"
49
43
export ZEPHYR_BASE="$(dirname "$(pwd)")/zephyr"
50
44
git config --global user.email "[email protected] "
51
45
git config --global user.name "Your Name"
0 commit comments