File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,20 +113,30 @@ jobs:
113113 env : |
114114 CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}
115115 OMP_NUM_THREADS=1
116- command : " pytest -v tests/test_mpi.py"
116+ command : |
117+ pytest \
118+ -v \
119+ --cov \
120+ --cov-config=.coveragerc \
121+ --cov-report=xml \
122+ tests/test_mpi.py"
117123
118124 - name : Test acoustic and TTI examples with MPI
119125 uses : ./.github/actions/docker-run
120126 with :
121127 uid : ${{ steps.build.outputs.unique }}
122128 tag : ${{ matrix.name }}
123129 env : |
130+ CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}
124131 DEVITO_MPI=1
125132 OMP_NUM_THREADS=1
126133 command : |
127134 mpiexec -n 2 \
128135 pytest \
129136 -v \
137+ --cov \
138+ --cov-config=.coveragerc \
139+ --cov-report=xml \
130140 examples/seismic/acoustic \
131141 examples/seismic/tti
132142
Original file line number Diff line number Diff line change @@ -116,7 +116,15 @@ jobs:
116116 tag : ${{ matrix.name }}
117117 args : ${{ matrix.dockerflags }}
118118 env : |
119- command : pytest -v ${{ matrix.test_examples }}
119+ CI=true
120+ CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}
121+ command : |
122+ pytest \
123+ -v \
124+ --cov \
125+ --cov-config=.coveragerc \
126+ --cov-report=xml \
127+ ${{ matrix.test_examples }}
120128
121129 - name : Test examples with MPI
122130 uses : ./.github/actions/docker-run
@@ -125,9 +133,18 @@ jobs:
125133 tag : ${{ matrix.name }}
126134 args : ${{ matrix.dockerflags }}
127135 env : |
136+ CI=true
137+ CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }}
128138 DEVITO_LOGGING=DEBUG
129139 DEVITO_MPI=1
130- command : mpiexec -n 2 pytest -v ${{ matrix.test_examples }}
140+ command : |
141+ mpiexec -n 2 \
142+ pytest \
143+ -v \
144+ --cov \
145+ --cov-config=.coveragerc \
146+ --cov-report=xml \
147+ ${{ matrix.test_examples }}
131148
132149 - name : Cleanup docker image
133150 if : always()
Original file line number Diff line number Diff line change 7474 --nbval \
7575 -k 'not dask' \
7676 -k 'not synthetics' \
77- examples/cfd \
78- examples/compiler \
79- examples/finance \
80- examples/performance \
81- examples/seismic/abc_methods \
82- examples/seismic/acoustic/accuracy.ipynb \
83- examples/seismic/self_adjoint \
84- examples/seismic/tutorials \
85- examples/timestepping \
86- examples/userapi
77+ examples
8778
8879 - name : Failing notebooks
8980 # TODO: Fix or skip this
You can’t perform that action at this time.
0 commit comments