File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,19 +68,19 @@ jobs:
68
68
run : |
69
69
export PATH=$CONDA_ROOT/condabin:$CONDA_ROOT/bin:${PATH}
70
70
eval "$($CONDA_ROOT/bin/python -m conda shell.bash hook)"
71
- conda create --use-local -c conda-forge --override-channels -n sharpy -v sharpy pytest
71
+ conda create --use-local -c conda-forge --override-channels -n sharpy -v sharpy pytest pytest-timeout
72
72
conda activate sharpy
73
73
- name : Test SHARPY (pytest)
74
74
run : |
75
75
export PATH=$CONDA_ROOT/condabin:$CONDA_ROOT/bin:${PATH}
76
76
eval "$($CONDA_ROOT/bin/python -m conda shell.bash hook)"
77
77
conda activate sharpy
78
78
cd test
79
- pytest . -v -s
80
- SHARPY_FORCE_DIST=1 pytest . -v -s
81
- mpirun -n 2 pytest . -v -s
82
- mpirun -n 3 pytest . -v -s
83
- mpirun -n 4 pytest . -v -s
79
+ pytest . -v -s --timeout=30
80
+ SHARPY_FORCE_DIST=1 pytest . -v -s --timeout=30
81
+ mpirun -n 2 pytest . -v -s --timeout=30
82
+ mpirun -n 3 pytest . -v -s --timeout=30
83
+ mpirun -n 4 pytest . -v -s --timeout=30
84
84
cd -
85
85
- name : Run examples
86
86
run : |
You can’t perform that action at this time.
0 commit comments