Skip to content

Fix ModuleNotFoundError: No module named 'six' #27

Fix ModuleNotFoundError: No module named 'six'

Fix ModuleNotFoundError: No module named 'six' #27

name: 02-Build-Firmware
on:
pull_request:
branches:
- main
- master
- "release/**"
workflow_dispatch:
inputs:
branch:
description: 'Branches to run the workflow on'
required: true
default: 'main'
jobs:
FW_build:
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}
- name: Build Docker Image
run: docker build -t ${{ github.repository }}-build-env:latest .
- name: Run Docker Container
run: |
docker run --rm -v ${{ github.workspace }}:/workspace ${{ github.repository }}-build-env:latest /bin/bash -c "
cd /workspace/projects/lorawan_extension/components/lbm_applications/4_porting_efr32 &&
make sx1262 MODEM_APP=PERIODICAL_UPLINK &&
make sx1262 MODEM_APP=PORTING_TESTS &&
make sx1262 MODEM_APP=LCTT_CERTIF &&
make sx1262 MODEM_APP=PING_PONG
"
- name: Clean up workspace
if: always()
run: sudo git clean -ffdx