File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -38,25 +38,23 @@ jobs:
38
38
integration-tests :
39
39
runs-on : [self-hosted, gpu, db]
40
40
steps :
41
- - name : Export OpenMPI PATH
42
- run : |
43
- export PATH=/opt/openmpi-4.1.5/bin:$PATH
44
- export LD_LIBRARY_PATH=/opt/openmpi-4.1.5/lib:$LD_LIBRARY_PATH
45
- ompi_info
46
- - uses : actions/checkout@v3
47
41
- name : Install poetry
42
+ - uses : actions/checkout@v3
48
43
run : pip install poetry
49
44
- uses : actions/setup-python@v4.7.1
50
45
with :
51
46
python-version : ' 3.10'
52
47
- name : Install dependencies and check code
53
48
run : |
49
+ export PATH=/opt/openmpi-4.1.5/bin:$PATH
50
+ export LD_LIBRARY_PATH=/opt/openmpi-4.1.5/lib:$LD_LIBRARY_PATH
54
51
ompi_info
55
52
poetry env use '3.10'
56
53
source $(poetry env info --path)/bin/activate
57
- env MPICC=/opt/openmpi-4.1.5/bin/mpicc python3 -m pip install git+https://github.com/mpi4py/mpi4py
58
54
poetry install --with test,dev --all-extras
59
55
coverage run -m pytest -m integration_test && coverage xml && coverage report -m
56
+ - env :
57
+ MPICC : /opt/openmpi-4.1.5/bin/mpicc
60
58
- name : Upload coverage to Codecov
61
59
uses : Wandalen/wretry.action@v1.0.36
62
60
with :
You can’t perform that action at this time.
0 commit comments