Skip to content

Commit 65247ec

Browse files
authored
hotfix for GHA tpu (#5762)
* -y * t * . * t
1 parent 6a7bf32 commit 65247ec

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci_test-tpu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ jobs:
113113
cat xx00 && \
114114
echo "Done with log retrieval attempt." && \
115115
gcloud container images delete "$IMAGE:$IMAGETAG" --force-delete-tags && \
116+
echo "Status code: $status_code"
116117
exit $status_code
117118
shell: bash
118119

dockers/tpu-tests/tpu_test_cases.jsonnet

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ local tputests = base.BaseTest {
2121
command: utils.scriptCommand(
2222
|||
2323
cd pytorch-lightning
24-
coverage run --source=pytorch_lightning -m pytest tests/models/test_tpu.py tests/backends/test_tpu_backend.py pytorch_lightning/utilities/xla_device_utils.py -v
24+
coverage run --source=pytorch_lightning -m pytest -v \
25+
tests/models/test_tpu.py \
26+
tests/backends/test_tpu_backend.py \
27+
pytorch_lightning/utilities/xla_device_utils.py
2528
test_exit_code=$?
2629
echo "\n||| END PYTEST LOGS |||\n"
2730
coverage xml

0 commit comments

Comments
 (0)