-
Notifications
You must be signed in to change notification settings - Fork 867
47 lines (44 loc) · 1.16 KB
/
regression_tests_cpu_m1.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
name: Run Regression Tests on CPU
on:
push:
branches:
- M1_changes
pull_request:
branches:
- M1_changes
merge_group:
concurrency:
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
cancel-in-progress: true
jobs:
regression-cpu:
# creates workflows for OS: ubuntu, macOS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14]
steps:
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
python-version: 3.10
architecture: x64
- name: Setup Java 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Checkout TorchServe
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install dependencies
run: |
python ts_scripts/install_dependencies.py --environment=dev
- name: Torchserve sanity test
run: |
python torchserve_sanity.py
- name: Torchserve Regression Tests
run: |
python test/regression_tests.py