1
1
name : Run Regression Tests for CPU nightly binaries
2
2
3
3
on :
4
+ push :
5
+ branches :
6
+ - ci_fixes
4
7
# run every day at 6:15am
5
- schedule :
6
- - cron : ' 15 6 * * *'
8
+ # schedule:
9
+ # - cron: '15 6 * * *'
7
10
8
11
concurrency :
9
12
group : ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
@@ -30,13 +33,13 @@ jobs:
30
33
- uses : actions/checkout@v3
31
34
with :
32
35
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 }}
40
43
- name : Setup conda with Python ${{ matrix.python-version }}
41
44
if : matrix.os != 'macos-14'
42
45
uses : s-weigand/setup-conda@v1
@@ -51,18 +54,35 @@ jobs:
51
54
java-version : ' 17'
52
55
- name : Checkout TorchServe
53
56
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
61
57
- name : Install dependencies
62
- if : matrix.os != 'macos-14'
58
+ shell : bash -el {0}
63
59
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===="
64
64
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}
67
67
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===="
68
72
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