Skip to content

Commit 3541acb

Browse files
committed
testing cpu ci
1 parent 0617202 commit 3541acb

File tree

1 file changed

+39
-19
lines changed

1 file changed

+39
-19
lines changed

.github/workflows/regression_tests_cpu_binaries.yml

+39-19
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Run Regression Tests for CPU nightly binaries
22

33
on:
4+
push:
5+
branches:
6+
- ci_fixes
47
# run every day at 6:15am
5-
schedule:
6-
- cron: '15 6 * * *'
8+
# schedule:
9+
# - cron: '15 6 * * *'
710

811
concurrency:
912
group: ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
@@ -30,13 +33,13 @@ jobs:
3033
- uses: actions/checkout@v3
3134
with:
3235
submodules: recursive
33-
- name: Setup conda with Python ${{ matrix.python-version }}
34-
if: matrix.os == 'macos-14'
35-
uses: conda-incubator/setup-miniconda@v3
36-
with:
37-
auto-update-conda: true
38-
channels: anaconda, conda-forge
39-
python-version: ${{ matrix.python-version }}
36+
# - name: Setup conda with Python ${{ matrix.python-version }}
37+
# if: matrix.os == 'macos-14'
38+
# uses: conda-incubator/setup-miniconda@v3
39+
# with:
40+
# auto-update-conda: true
41+
# channels: anaconda, conda-forge
42+
# python-version: ${{ matrix.python-version }}
4043
- name: Setup conda with Python ${{ matrix.python-version }}
4144
if: matrix.os != 'macos-14'
4245
uses: s-weigand/setup-conda@v1
@@ -51,18 +54,35 @@ jobs:
5154
java-version: '17'
5255
- name: Checkout TorchServe
5356
uses: actions/checkout@v3
54-
- name: Run install dependencies and regression test
55-
if: matrix.os == 'macos-14'
56-
shell: bash -el {0}
57-
run: |
58-
conda info
59-
python ts_scripts/install_dependencies.py --environment=dev
60-
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
6157
- name: Install dependencies
62-
if: matrix.os != 'macos-14'
58+
shell: bash -el {0}
6359
run: |
60+
echo "=====CHECK ENV AND PYTHON VERSION===="
61+
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
62+
python --version
63+
echo "=====RUN INSTALL DEPENDENCIES===="
6464
python ts_scripts/install_dependencies.py --environment=dev
65-
- name: Validate Torchserve CPU Regression
66-
if: matrix.os != 'macos-14'
65+
- name: Torchserve Regression Tests
66+
shell: bash -el {0}
6767
run: |
68+
echo "=====CHECK ENV AND PYTHON VERSION===="
69+
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
70+
python --version
71+
echo "=====RUN REGRESSION TESTS===="
6872
python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
73+
74+
# - name: Run install dependencies and regression test
75+
# if: matrix.os == 'macos-14'
76+
# shell: bash -el {0}
77+
# run: |
78+
# conda info
79+
# python ts_scripts/install_dependencies.py --environment=dev
80+
# python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
81+
# - name: Install dependencies
82+
# if: matrix.os != 'macos-14'
83+
# run: |
84+
# python ts_scripts/install_dependencies.py --environment=dev
85+
# - name: Validate Torchserve CPU Regression
86+
# if: matrix.os != 'macos-14'
87+
# run: |
88+
# python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly

0 commit comments

Comments
 (0)