Skip to content

Commit fc55eaa

Browse files
committed
Removed crud; get more details from failing test.
1 parent 35e88e3 commit fc55eaa

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/pytest-gpu.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ jobs:
3535
- self-hosted
3636
- ${{ matrix.runner_label }}
3737

38-
# Job-level env (includes per-runner image/container tags)
39-
env:
40-
DEVITO_ARCH: ${{ matrix.arch }}
41-
DEVITO_PLATFORM: ${{ matrix.platform }}
42-
DEVITO_LANGUAGE: ${{ matrix.language }}
43-
OMPI_CC: ${{ matrix.arch }}
44-
4538
strategy:
4639
fail-fast: false
4740
matrix:
@@ -110,11 +103,11 @@ jobs:
110103
111104
- name: Test with pytest
112105
run: |
113-
# Run a simple driver cmd first (nvidia-smi / rocm-smi)
114106
ci_env=$(bash <(curl -s https://codecov.io/env))
115107
116108
docker run ${{ matrix.flags }} $ci_env -e CI=true "${DOCKER_IMAGE}" \
117-
pytest --cov --cov-config=.coveragerc --cov-report=xml ${{ matrix.test_files }}
109+
pytest -vv -ra -l -s --full-trace --maxfail=1 \
110+
--cov --cov-config=.coveragerc --cov-report=xml ${{ matrix.test_files }}
118111
119112
- name: Test examples
120113
run: |

0 commit comments

Comments
 (0)