Skip to content

Commit 88c6d93

Browse files
authored
Added test job (#3406)
1 parent 88f8587 commit 88c6d93

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test_hosted.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test - Hosted
2+
3+
# Entry point for Core tests. Triggered by schedule or workflow_dispatch.
4+
5+
on:
6+
# Allow manually triggering of the workflow.
7+
workflow_dispatch: {}
8+
9+
jobs:
10+
call-suite-core:
11+
uses: ./.github/workflows/suite_core.yml
12+
if: |
13+
github.event_name == 'workflow_dispatch' ||
14+
(github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro')
15+
with:
16+
trigger-sha: ${{ github.sha }}
17+
secrets:
18+
tflm-bot-token: ${{ secrets.TFLM_BOT_PACKAGE_READ_TOKEN }}
19+
20+
issue-on-error:
21+
needs: [call-suite-core]
22+
if: ${{ always() && contains(needs.*.result, 'failure') }}
23+
uses: ./.github/workflows/issue_on_error.yml
24+
with:
25+
repo: ${{ github.repository }}
26+
workflow: ${{ github.workflow }}
27+
run_id: ${{ github.run_id }}
28+
run_number: ${{ github.run_number }}
29+
flag_label: ci:bot_issue
30+
secrets:
31+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)