Skip to content

Commit 2b979d4

Browse files
committed
adding regression test
1 parent 7c4f45d commit 2b979d4

File tree

1 file changed

+45
-3
lines changed

1 file changed

+45
-3
lines changed

.github/workflows/regression_tests_cpu_binaries.yml

+45-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Run Regression Tests for CPU nightly binaries
22

3+
# on:
4+
# # run every day at 6:15am
5+
# schedule:
6+
# - cron: '15 6 * * *'
37
on:
4-
# run every day at 6:15am
5-
schedule:
6-
- cron: '15 6 * * *'
8+
push:
9+
branches:
10+
- m1
711

812
concurrency:
913
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
@@ -47,3 +51,41 @@ jobs:
4751
- name: Validate Torchserve CPU Regression
4852
run: |
4953
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
54+
55+
regression-cpu-nightly-binaries-macos-14:
56+
# Job for macOS-14 with Python 3.10
57+
runs-on: macos-14
58+
strategy:
59+
fail-fast: false
60+
matrix:
61+
binaries: ["pypi", "conda"]
62+
steps:
63+
- uses: actions/checkout@v3
64+
with:
65+
submodules: recursive
66+
- name: Setup Python for M1
67+
uses: actions/setup-python@v5
68+
with:
69+
python-version: '3.10'
70+
- name: Setup conda with Python 3.10
71+
uses: conda-incubator/setup-miniconda@v3
72+
with:
73+
auto-update-conda: true
74+
python-version: '3.10'
75+
- name: Setup Java 17
76+
uses: actions/setup-java@v3
77+
with:
78+
distribution: 'zulu'
79+
java-version: '17'
80+
- name: Checkout TorchServe
81+
uses: actions/checkout@v3
82+
- name: Conda info
83+
shell: bash -el {0}
84+
run: conda info &&
85+
python ts_scripts/install_dependencies.py --environment=dev &&
86+
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
87+
- name: Conda list
88+
shell: pwsh
89+
run: conda list
90+
- run: conda --version
91+
- run: python --version

0 commit comments

Comments
 (0)