File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ jobs:
3333
3434 - base : ' bases:cpu-gcc'
3535 tag : " gcc"
36- flag : ' --init'
36+ flag : ' --init -t '
3737 test : ' tests/test_operator.py'
3838 runner : ubuntu-latest
3939
4040 - base : ' bases:cpu-icx'
4141 tag : " icx"
42- flag : ' --init'
42+ flag : ' --init -t '
4343 test : ' tests/test_operator.py'
4444 runner : ubuntu-latest
4545
Original file line number Diff line number Diff line change 8787
8888 - name : Test with pytest
8989 run : |
90- docker run --init --rm -t -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} -e OMP_NUM_THREADS=1 --name testrun devito_img pytest tests/test_mpi.py
90+ docker run --init -t --rm -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} -e OMP_NUM_THREADS=1 --name testrun devito_img pytest tests/test_mpi.py
9191
9292 - name : Test examples with MPI
9393 run : |
94- docker run --init --rm -t ${{ matrix.mpiflag }} -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/acoustic
95- docker run --init --rm -t -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti
94+ docker run --init -t --rm ${{ matrix.mpiflag }} -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/acoustic
95+ docker run --init -t --rm -e DEVITO_MPI=1 -e OMP_NUM_THREADS=1 --name examplerun devito_img mpiexec -n 2 pytest examples/seismic/tti
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ jobs:
134134 - name : Set run prefix
135135 run : |
136136 if [[ "${{ matrix.name }}" =~ "docker" ]]; then
137- echo "RUN_CMD=docker run --init --rm -t -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} --name testrun devito_img" >> $GITHUB_ENV
137+ echo "RUN_CMD=docker run --init -t --rm -e CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} --name testrun devito_img" >> $GITHUB_ENV
138138 else
139139 echo "RUN_CMD=" >> $GITHUB_ENV
140140 fi
Original file line number Diff line number Diff line change 7575 - name : Set run prefix
7676 run : |
7777 if [ "${{ matrix.name }}" == 'tutos-docker-gcc-py39' ]; then
78- echo "RUN_CMD=docker run --init --rm -t --name testrun devito_img" >> $GITHUB_ENV
78+ echo "RUN_CMD=docker run --init -t --rm --name testrun devito_img" >> $GITHUB_ENV
7979 else
8080 echo "RUN_CMD=" >> $GITHUB_ENV
8181 fi
You can’t perform that action at this time.
0 commit comments