-
Notifications
You must be signed in to change notification settings - Fork 46
51 lines (43 loc) · 1.41 KB
/
regression_tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Daily regression tests
on:
schedule:
- cron: '0 4,15 * * *'
workflow_dispatch:
jobs:
tfhubmodels:
name: "Regression test TF hub models"
runs-on: ubuntu-20.04
# Don't run this in everyone's forks.
if: github.repository == 'iree-org/iree-samples'
steps:
- name: Checking out repository
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Install Python
uses: actions/setup-python@48e4ac706204bab735867521ba54b3276c883d00 #3.1.3
with:
python-version: '3.9'
- name: Install Deps
shell: bash
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Installed IREE & TF versions
shell: bash
run: |
pip freeze | egrep 'iree|tensorflow|tf-'
- name: Run LLVMCPU Backend Tests
shell: bash
run: |
lit -v -D FEATURES=hugetest tflitehub
- name: Run VMVX Backend Tests
shell: bash
run: |
lit -v -D FEATURES=vmvx tflitehub
- name: Posting to Discord
uses: sarisia/actions-status-discord@c193626e5ce172002b8161e116aa897de7ab5383 # v1.10.2
if: ${{ failure() }}
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
description: "iree-samples regressions tests failed"
color: 0x0000ff
username: GitHub Actions