Skip to content

using pytest-timeout #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@ jobs:
run: |
export PATH=$CONDA_ROOT/condabin:$CONDA_ROOT/bin:${PATH}
eval "$($CONDA_ROOT/bin/python -m conda shell.bash hook)"
conda create --use-local -c conda-forge --override-channels -n sharpy -v sharpy pytest
conda create --use-local -c conda-forge --override-channels -n sharpy -v sharpy pytest pytest-timeout
conda activate sharpy
- name: Test SHARPY (pytest)
run: |
export PATH=$CONDA_ROOT/condabin:$CONDA_ROOT/bin:${PATH}
eval "$($CONDA_ROOT/bin/python -m conda shell.bash hook)"
conda activate sharpy
cd test
pytest . -v -s
SHARPY_FORCE_DIST=1 pytest . -v -s
mpirun -n 2 pytest . -v -s
mpirun -n 3 pytest . -v -s
mpirun -n 4 pytest . -v -s
pytest . -v -s --timeout=30
SHARPY_FORCE_DIST=1 pytest . -v -s --timeout=30
mpirun -n 2 pytest . -v -s --timeout=30
mpirun -n 3 pytest . -v -s --timeout=30
mpirun -n 4 pytest . -v -s --timeout=30
cd -
- name: Run examples
run: |
Expand Down
Loading