Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1286294?usp=email )

Change subject: tests: Run Graalpy tests with any pytest version for macOS
......................................................................

tests: Run Graalpy tests with any pytest version for macOS

The pytest vulnerability does not affect macOS, so the GraalPy
tests on macOS can run with any compatible pytest version.

Bug: T425971
Change-Id: I9c82958fb8496e0a2cc98f995cee372b0b4db332
---
M .github/workflows/graalpy_tests.yml
1 file changed, 5 insertions(+), 1 deletion(-)

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




diff --git a/.github/workflows/graalpy_tests.yml 
b/.github/workflows/graalpy_tests.yml
index 79e7298..aa99fd7 100644
--- a/.github/workflows/graalpy_tests.yml
+++ b/.github/workflows/graalpy_tests.yml
@@ -44,9 +44,13 @@
           pip install packaging
           pip install requests
           pip install wikitextparser
-          pip install pytest >= 9.0.3
           pip install pytest-attrib
           pip install coverage
+          if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
+            pip install "pytest>=9.0.3"
+          else
+            pip install pytest
+          fi
       - name: Generate user files
         run: |
           python -Werror::UserWarning -m pwb generate_user_files 
-site:${{matrix.site}} -v -debug;

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

Reply via email to