@@ -47,13 +47,22 @@ jobs:
4747 - name : Test with pytest
4848 run : |
4949 python3 scripts/clear_devito_cache.py
50- python3 -m pytest --cov --cov-config=.coveragerc --cov-report=xml -m parallel tests/
50+ python3 -m pytest \
51+ -v \
52+ --cov \
53+ --cov-config=.coveragerc \
54+ --cov-report=xml \
55+ -m parallel \
56+ tests/
5157
5258 - name : Test examples with MPI
5359 run : |
5460 python3 scripts/clear_devito_cache.py
55- DEVITO_MPI=1 mpirun -n 2 python3 -m pytest examples/seismic/acoustic
56- DEVITO_MPI=1 mpirun -n 2 python3 -m pytest examples/seismic/tti
61+ DEVITO_MPI=1 mpirun -n 2 \
62+ python3 -m pytest \
63+ -v \
64+ examples/seismic/acoustic \
65+ examples/seismic/tti
5766
5867 - name : Upload coverage to Codecov
5968 uses : codecov/codecov-action@v5
@@ -104,27 +113,22 @@ jobs:
104113 env : |
105114 CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}
106115 OMP_NUM_THREADS=1
107- command : " pytest tests/test_mpi.py"
116+ command : " pytest -v tests/test_mpi.py"
108117
109- - name : Test acoustic example with MPI
118+ - name : Test acoustic and TTI examples with MPI
110119 uses : ./.github/actions/docker-run
111120 with :
112121 uid : ${{ steps.build.outputs.unique }}
113122 tag : ${{ matrix.name }}
114123 env : |
115124 DEVITO_MPI=1
116125 OMP_NUM_THREADS=1
117- command : " mpiexec -n 2 pytest examples/seismic/acoustic"
118-
119- - name : Test tti example with MPI
120- uses : ./.github/actions/docker-run
121- with :
122- uid : ${{ steps.build.outputs.unique }}
123- tag : ${{ matrix.name }}
124- env : |
125- DEVITO_MPI=1
126- OMP_NUM_THREADS=1
127- command : " mpiexec -n 2 pytest examples/seismic/tti"
126+ command : >
127+ mpiexec -n 2
128+ pytest
129+ -v
130+ examples/seismic/acoustic
131+ examples/seismic/tti
128132
129133 - name : Cleanup docker image
130134 if : always()
0 commit comments