Xqt submitted this change.
tests: Print public IP of runner on failure
Change-Id: Ie55afe4c2c59de06de1cf9e3f9fd99f3e8f0f7a4
---
M .github/workflows/pywikibot-ci.yml
M .github/workflows/windows_tests.yml
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml
index 46f51d8..54a8b7b 100644
--- a/.github/workflows/pywikibot-ci.yml
+++ b/.github/workflows/pywikibot-ci.yml
@@ -149,4 +149,6 @@
- name: Check on failure
if: steps.ci_test.outcome == 'failure'
run: |
+ # Print public IP of runner
+ curl -s https://api.ipify.org
exit 1
diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml
index 34c3a5b..c78e045 100644
--- a/.github/workflows/windows_tests.yml
+++ b/.github/workflows/windows_tests.yml
@@ -83,4 +83,7 @@
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Check on failure
if: steps.ci_test.outcome == 'failure'
- run: exit 1
+ run: |
+ # Print public IP of runner
+ curl -s https://api.ipify.org
+ exit 1
To view, visit change 1183223. To unsubscribe, or for help writing mail filters, visit settings.