mirror of
https://github.com/vee1e/tflite-micro.git
synced 2026-09-02 10:17:54 +00:00
39 lines
No EOL
1.1 KiB
YAML
39 lines
No EOL
1.1 KiB
YAML
name: Run-Hexagon
|
|
|
|
# Entry point for Hexagon tests. Triggered by schedule or workflow_dispatch.
|
|
|
|
on:
|
|
schedule:
|
|
# 10am UTC is 3am or 4am PT depending on daylight savings.
|
|
- cron: '0 10 * * *'
|
|
|
|
# Allow manually triggering of the workflow.
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
|
|
jobs:
|
|
call-suite-hexagon:
|
|
uses: ./.github/workflows/suite_hexagon.yml
|
|
if: |
|
|
github.event_name == 'workflow_dispatch' ||
|
|
(github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')
|
|
with:
|
|
trigger-sha: ${{ github.sha }}
|
|
secrets:
|
|
tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }}
|
|
|
|
issue-on-error:
|
|
needs: [call-suite-hexagon]
|
|
if: ${{ always() && contains(needs.*.result, 'failure') }}
|
|
uses: ./.github/workflows/issue_on_error.yml
|
|
with:
|
|
repo: ${{ github.repository }}
|
|
workflow: ${{ github.workflow }}
|
|
run_id: ${{ github.run_id }}
|
|
run_number: ${{ github.run_number }}
|
|
flag_label: bot:issue
|
|
secrets:
|
|
token: ${{ secrets.GITHUB_TOKEN }} |