1
1
name : Run Regression Tests for GPU nightly binaries
2
2
3
3
on :
4
- # run every day at 6:15am
5
- schedule :
6
- - cron : ' 15 6 * * *'
4
+ push :
5
+ branches :
6
+ - ci_fixes
7
+
8
+ # # run every day at 6:15am
9
+ # schedule:
10
+ # - cron: '15 6 * * *'
7
11
8
12
concurrency :
9
13
group : ci-cpu-${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }}
@@ -30,10 +34,10 @@ jobs:
30
34
uses : actions/checkout@v3
31
35
with :
32
36
submodules : recursive
33
- - uses : conda-incubator/setup-miniconda@v2
34
- with :
35
- miniconda-version : " latest"
36
- python-version : ${{ matrix.python-version }}
37
+ # - uses: conda-incubator/setup-miniconda@v2
38
+ # with:
39
+ # miniconda-version: "latest"
40
+ # python-version: ${{ matrix.python-version }}
37
41
- name : Setup Python ${{ matrix.python-version }}
38
42
uses : actions/setup-python@v4
39
43
with :
45
49
update-conda : true
46
50
python-version : ${{ matrix.python-version }}
47
51
conda-channels : anaconda, conda-forge
52
+ - run : python --version
48
53
- run : conda --version
49
54
- name : Setup Java 17
50
55
uses : actions/setup-java@v3
@@ -53,17 +58,17 @@ jobs:
53
58
java-version : ' 17'
54
59
- name : Install dependencies
55
60
shell : bash -el {0}
56
- run : |
61
+ run : |
57
62
echo "=====CHECK ENV AND PYTHON VERSION===="
58
63
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
59
64
python --version
60
65
echo "=====RUN INSTALL DEPENDENCIES===="
61
66
python ts_scripts/install_dependencies.py --environment=dev --cuda=cu121
62
67
- name : Torchserve Regression Tests
63
- shell : bash -el {0}
68
+ shell : bash -el {0}
64
69
run : |
65
70
echo "=====CHECK ENV AND PYTHON VERSION===="
66
71
/home/ubuntu/actions-runner/_work/serve/serve/3/condabin/conda info --envs
67
72
python --version
68
73
echo "=====RUN REGRESSION TESTS===="
69
- python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
74
+ python test/regression_tests.py --binaries --${{ matrix.binaries }} --nightly
0 commit comments