Skip to content

Commit 95a5a55

Browse files
karhamathst-nordic
authored andcommitted
ci: fix west-commands workflow
Workflow has stopped working for MacOS - fix that. Signed-off-by: Kari Hamalainen <[email protected]>
1 parent 1f634f3 commit 95a5a55

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/west-commands.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
branches: [main]
66
paths:
7+
- .github/workflows/west-commands.yml
78
- scripts/west_commands/**
89
- scripts/requirements-west-ncs-sbom.txt
910
- scripts/requirements-extra.txt
@@ -21,9 +22,6 @@ jobs:
2122
- name: Install python dependencies
2223
working-directory: ncs/nrf
2324
run: |
24-
pip3 install -U pip
25-
pip3 install -U setuptools
26-
pip3 install -U wheel
2725
pip3 install -U mypy types-colorama types-editdistance types-PyYAML
2826
grep -E "west==" scripts/requirements-fixed.txt | cut -f1 -d"#" | cut -d ' ' -f '1'| xargs pip3 install -U
2927
pip3 show -f west
@@ -37,9 +35,13 @@ jobs:
3735
strategy:
3836
fail-fast: false
3937
matrix:
40-
os: [ubuntu-24.04, macos-13, windows-latest]
38+
os: [ubuntu-24.04, macos-14, windows-latest]
4139
runs-on: ${{ matrix.os }}
4240
steps:
41+
- name: Setup Python
42+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
43+
with:
44+
python-version: '3.12'
4345
- name: Checkout sources
4446
uses: nrfconnect/action-checkout-west-update@main
4547
with:
@@ -48,7 +50,6 @@ jobs:
4850
- name: Install requirements
4951
shell: bash
5052
run: |
51-
python3 -m pip install -U pip
5253
pip3 install -r nrf/scripts/requirements-west-ncs-sbom.txt
5354
pip3 install -r nrf/scripts/requirements-extra.txt
5455
- name: Smoke test ncs-loot & ncs-compare

0 commit comments

Comments
 (0)