Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1183223?usp=email )
Change subject: tests: Print public IP of runner on failure
......................................................................
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(-)
Approvals:
jenkins-bot: Verified
Xqt: Verified; Looks good to me, approved
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
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1183223?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ie55afe4c2c59de06de1cf9e3f9fd99f3e8f0f7a4
Gerrit-Change-Number: 1183223
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]