Skip to content

Commit e648b5b

Browse files
committed
ci(hw): Fix hardware tests
1 parent 0fa4aa6 commit e648b5b

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/tests_hw.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ on:
1212
description: 'Chip to run tests for'
1313
required: true
1414

15+
env:
16+
DEBIAN_FRONTEND: noninteractive
17+
1518
jobs:
1619
hardware-test:
1720
name: Hardware ${{ inputs.chip }} ${{ inputs.type }} tests
1821
runs-on: [arduino, "${{ inputs.chip }}"]
1922
env:
2023
id: ${{ github.event.pull_request.number || github.ref }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ inputs.chip }}-${{ inputs.type }}
2124
container:
22-
image: python:3.10.1-bullseye
25+
image: python:3.12.4-bookworm
2326
options: --privileged
2427
steps:
2528
- name: Check if already passed
@@ -45,10 +48,25 @@ jobs:
4548
4649
echo "enabled=$enabled" >> $GITHUB_OUTPUT
4750
51+
- name: Update git submodules
52+
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
53+
run: |
54+
apt update
55+
apt install -y git
56+
git --version
57+
4858
- name: Checkout user repository
4959
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
5060
uses: actions/checkout@v4
5161

62+
- name: List files recursively
63+
if: ${{ steps.check-tests.outputs.enabled == 'true' }}
64+
run: |
65+
echo "GitHub workspace: $GITHUB_WORKSPACE"
66+
echo "Working directory: $PWD"
67+
echo "Listing files:"
68+
ls -aR
69+
5270
# setup-python currently only works on ubuntu images
5371
# - uses: actions/setup-python@v5
5472
# if: ${{ steps.check-tests.outputs.enabled == 'true' }}

0 commit comments

Comments
 (0)