Skip to content

Commit b7646bd

Browse files
Update ci_test.yml
1 parent 2764780 commit b7646bd

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

.github/workflows/ci_test.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,30 @@ jobs:
2828
conda install mpi4py
2929
python setup.py install
3030
31-
- name: Run Tests
31+
- name: Test test_dist_nmf_1d_nnsvd_init
3232
run: |
33-
cd tests && ./test.sh
33+
cd tests && mpirun -n 2 python -m pytest test_dist_nmf_1d_nnsvd_init.py --with-mpi
34+
35+
- name: Test test_dist_nmf_2d
36+
run: |
37+
cd tests && mpirun -n 2 python -m pytest test_dist_nmf_2d.py --with-mpi
38+
39+
- name: Test test_dist_nmf_1d
40+
run: |
41+
cd tests && mpirun -n 2 python -m pytest test_dist_nmf_1d.py --with-mpi
42+
43+
- name: Test test_dist_nnsvd
44+
run: |
45+
cd tests && mpirun -n 2 python -m pytest test_dist_nnsvd.py --with-mpi
46+
47+
- name: Test test_dist_clustering
48+
run: |
49+
cd tests && mpirun -n 2 python -m pytest test_dist_clustering.py --with-mpi
50+
51+
- name: Test test_dist_file_split
52+
run: |
53+
cd tests && mpirun -n 2 python -m pytest test_dist_file_split.py --with-mpi
3454
3555
env:
3656
OMPI_ALLOW_RUN_AS_ROOT: '1'
37-
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: '1'
57+
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: '1'

0 commit comments

Comments
 (0)