File tree 1 file changed +45
-3
lines changed
1 file changed +45
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Run Regression Tests for CPU nightly binaries
2
2
3
+ # on:
4
+ # # run every day at 6:15am
5
+ # schedule:
6
+ # - cron: '15 6 * * *'
3
7
on :
4
- # run every day at 6:15am
5
- schedule :
6
- - cron : ' 15 6 * * * '
8
+ push :
9
+ branches :
10
+ - m1
7
11
8
12
concurrency :
9
13
group : ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
47
51
- name : Validate Torchserve CPU Regression
48
52
run : |
49
53
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
You can’t perform that action at this time.
0 commit comments