Skip to content

Commit 37ba8e2

Browse files
workflows: use python image for compliance
Use python image for compliance. It skims off around 3 minuts of docker image pulling. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent 05fca9e commit 37ba8e2

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
echo "MEMFAULT_SW_TYPE=${{ inputs.memfault_sw_type }}" >> $GITHUB_ENV
9393
fi
9494
95-
# Out-of-box firmware build
95+
# Asset Tracker Template firmware build
9696

9797
- name: Build nrf91 firmware
9898
working-directory: asset-tracker-template/app

.github/workflows/compliance.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,18 @@ jobs:
1010
compliance_job:
1111
runs-on: ubuntu-24.04
1212
name: Run compliance checks on patch series (PR)
13-
container: ghcr.io/zephyrproject-rtos/ci:v0.27.4
13+
container: python:3.13-slim-bookworm
1414

1515
# Skip job if it was triggered by Renovate Bot
1616
if: ${{ !contains(github.actor, 'renovate') }}
1717

1818
steps:
19+
- name: Setup
20+
run: |
21+
pip install unidiff yamllint junitparser python-magic west lxml gitlint
22+
apt-get update && apt-get -y upgrade
23+
apt-get install --no-install-recommends -y libmagic1 git
24+
1925
- name: Checkout the code
2026
uses: actions/checkout@v4
2127
with:
@@ -27,10 +33,7 @@ jobs:
2733
working-directory: asset-tracker-template
2834
run: |
2935
west init -l .
30-
west config manifest.group-filter +bsec
31-
west config build.sysbuild True
3236
west update -o=--depth=1 -n
33-
west blobs fetch hal_nordic
3437
3538
- name: Run Compliance Tests
3639
id: compliance

0 commit comments

Comments
 (0)