Skip to content

Commit

Permalink
[ci] cap execution time; set RDMAV_FORK_SAFE=1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesBuchner committed Jul 28, 2023
1 parent 8c29f1f commit e82832c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
Test:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -55,8 +56,7 @@ jobs:
- name: Install python dependencies
run: |
mamba install --quiet --file conda-requirements.txt corner coveralls
git clone https://github.com/JohannesBuchner/coverage-lcov
pushd coverage-lcov && pip install . && popd
pip install git+https://github.com/JohannesBuchner/coverage-lcov
#sed --in-place -e 's,"report_include",,g' -e 's,"report_omit",,g' /usr/share/miniconda/envs/*/lib/python*/site-packages/coverage_lcov/converter.py
conda list
conda info -a
Expand All @@ -73,7 +73,8 @@ jobs:
mkdir -p MultiNest/build; pushd MultiNest/build; cmake .. && make && popd
test -e MultiNest/lib/libmultinest.so
echo LD_LIBRARY_PATH=MultiNest/lib/:${LD_LIBRARY_PATH} >> $GITHUB_ENV
echo RDMAV_FORK_SAFE=1 >> $GITHUB_ENV
- name: Install PyMultiNest
run: |
python setup.py install --user
Expand Down Expand Up @@ -122,8 +123,8 @@ jobs:
flag-name: MPI-${{ matrix.MPI }}

CondaTest:
if: false
runs-on: ubuntu-latest
timeout-minutes: 20

defaults:
run:
Expand Down

0 comments on commit e82832c

Please sign in to comment.