jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1328347?usp=email )

Change subject: [tests] enable deep tests for GraalPy
......................................................................

[tests] enable deep tests for GraalPy

Bug: T435715
Change-Id: Ibab107ae1249195065bf40a079741de26c513aa5
---
M .github/requirements/graalpy_tests.txt
M .github/workflows/graalpy_tests.yml
2 files changed, 23 insertions(+), 3 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/.github/requirements/graalpy_tests.txt 
b/.github/requirements/graalpy_tests.txt
index 893a2ae..0800647 100644
--- a/.github/requirements/graalpy_tests.txt
+++ b/.github/requirements/graalpy_tests.txt
@@ -2,9 +2,9 @@
 mwparserfromhell
 packaging
 requests
+requests[socks]
 wikitextparser
 pytest >= 9.0.3
-pytest-attrib

 # Workarounds for known GraalPy compatibility issues (SSL + charset detection)
 charset_normalizer <= 3.4.5
diff --git a/.github/workflows/graalpy_tests.yml 
b/.github/workflows/graalpy_tests.yml
index c4d1192..30eeba5 100644
--- a/.github/workflows/graalpy_tests.yml
+++ b/.github/workflows/graalpy_tests.yml
@@ -21,7 +21,7 @@
   build:
     runs-on: ${{ matrix.os || 'ubuntu-latest' }}
     continue-on-error: ${{ matrix.experimental || false }}
-    timeout-minutes: 45
+    timeout-minutes: 55
     strategy:
       fail-fast: false
       matrix:
@@ -47,6 +47,11 @@
       - name: Install setuptools
         if: ${{ startsWith(matrix.python-version, 'graalpy-25') }}
         run: pip install setuptools
+      - name: Configure and start WMCS SOCKS tunnel
+        uses: ./.github/actions/wmcs-socks
+        with:
+          ssh_user: ${{ secrets.WMCS_USER }}
+          ssh_key: ${{ secrets.WMCS_SSH_KEY }}
       - name: Generate user files
         run: |
           python -Werror::UserWarning -m pwb generate_user_files 
-site:wikipedia:test -v -debug;
@@ -57,6 +62,10 @@
           PYTHONWARNINGS: ignore:urllib3 v2 only supports OpenSSL
           PYTHONIOENCODING: utf-8
           PYWIKIBOT_TEST_NO_RC: 1
+          HTTP_PROXY: socks5h://127.0.0.1:1080
+          HTTPS_PROXY: socks5h://127.0.0.1:1080
+          ALL_PROXY: socks5h://127.0.0.1:1080
+          NO_PROXY: ""
         run: |
           python pwb.py version
           echo "Running tests with GraalPy native coverage"
@@ -66,8 +75,19 @@
             --coverage.OutputFile=graalpy.info \
             -m pytest \
             -k "not TestDate" \
-            -a "not net" \
             --ignore=tests/script_tests.py
+      - name: Close WMCS SOCKS tunnel
+        if: always()
+        shell: bash
+        run: |-
+          if [ -f ssh.pid ]; then
+            PID=$(cat ssh.pid)
+            kill "$PID" || true
+            echo "SSH tunnel closed (PID $PID)"
+            rm -f ssh.pid
+          else
+            echo "No SSH tunnel PID found"
+          fi
       - name: Upload coverage to Codecov
         uses: codecov/codecov-action@v7
         with:

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1328347?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: Ibab107ae1249195065bf40a079741de26c513aa5
Gerrit-Change-Number: 1328347
Gerrit-PatchSet: 4
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]

Reply via email to