File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ jobs:
102
102
kubectl logs -f $pod_name --container=train > /tmp/full_output.txt
103
103
grep '<?xml version="1.0" ?>' /tmp/full_output.txt # sanity check
104
104
csplit /tmp/full_output.txt '/<?xml version="1.0" ?>/'
105
+ cat xx00 # test logs
105
106
mv xx01 coverage.xml
106
107
exit $status_code
107
108
shell : bash
Original file line number Diff line number Diff line change @@ -29,11 +29,15 @@ local tputests = base.BaseTest {
29
29
echo "--- Fetch the SHA's changes ---"
30
30
git clone --single-branch --depth 1 https://github.com/Lightning-AI/lightning.git
31
31
cd lightning
32
- git fetch origin --depth 1 pull/{PR_NUMBER}/head:test/{PR_NUMBER}
33
- git -c advice.detachedHead=false checkout {SHA}
34
-
35
- echo "--- Install PL ---"
36
- PACKAGE_NAME=pytorch FREEZE_REQUIREMENTS=1 pip install -e .[test]
32
+ if [ -n "{PR_NUMBER}" ]; then # if PR number is not empty
33
+ # PR triggered it, check it out
34
+ git fetch origin --depth 1 pull/{PR_NUMBER}/head:test/{PR_NUMBER}
35
+ git -c advice.detachedHead=false checkout {SHA}
36
+ fi
37
+
38
+ echo "--- Install packages ---"
39
+ PACKAGE_NAME=lite pip install -e .[dev]
40
+ PACKAGE_NAME=pytorch pip install -e .[dev]
37
41
pip list
38
42
39
43
echo $KUBE_GOOGLE_CLOUD_TPU_ENDPOINTS
You can’t perform that action at this time.
0 commit comments