From 339772aece6158a9dc09f75e10e8542ca011c642 Mon Sep 17 00:00:00 2001 From: Matthew McGowan Date: Tue, 29 Aug 2023 02:03:34 -0700 Subject: [PATCH] fixup the name of the micropython MCU. Add cron schedule. --- .github/workflows/hil-micropython.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hil-micropython.yml b/.github/workflows/hil-micropython.yml index 1579403..bf6b131 100644 --- a/.github/workflows/hil-micropython.yml +++ b/.github/workflows/hil-micropython.yml @@ -17,6 +17,10 @@ on: type: boolean default: true + schedule: + - cron: '15 4 * * 1' + + jobs: test: runs-on: @@ -32,7 +36,7 @@ jobs: matrix: MICROPYTHON_VERSION: [1.20.0] MICROPYTHON_DATE: [20230426] - MICROPYTHON_MCU: [esp32] + MICROPYTHON_MCU: [ESP32_GENERIC] MPY_BOARD: [huzzah32] # the --mpyboard parameter to the tests flash_device: # has to be an array - use the input from workflow_dispatch if present, otherwlse true - ${{ github.event.inputs.flash_device=='' && true || github.event.inputs.flash_device }} @@ -45,7 +49,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - - name: Set Env Vars + - name: Set Environment Variables run: | # environment variables set in a step cannot be used until subsequent steps echo "MICROPYTHON_BIN_URL=https://micropython.org/resources/firmware/${{env.MICROPYTHON_BIN}}" >> $GITHUB_ENV