Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224135?usp=email )
Change subject: Tests: Fix pytest command line in graalpy_tests.yml
......................................................................
Tests: Fix pytest command line in graalpy_tests.yml
Bug: T413596
Change-Id: Iee5e6638fe5b70a31c91beceb9c114e233207c34
---
M .github/workflows/graalpy_tests.yml
1 file changed, 2 insertions(+), 3 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/graalpy_tests.yml
b/.github/workflows/graalpy_tests.yml
index 8e4434e..48ea428 100644
--- a/.github/workflows/graalpy_tests.yml
+++ b/.github/workflows/graalpy_tests.yml
@@ -59,13 +59,12 @@
PYWIKIBOT_TEST_NO_RC: 1
run: |
python pwb.py version
- TEST_CMD="pytest -k 'not TestDate' -a 'not net'
--ignore=tests/script_tests.py"
if [[ "${{ matrix.python-version }}" == "graalpy-25.0" && "${{
matrix.os }}" == "ubuntu-latest" ]]; then
echo "Running tests without coverage (GraalPy 25 on Ubuntu)"
- $TEST_CMD
+ pytest -k "not TestDate" -a "not net"
--ignore=tests/script_tests.py
else
echo "Running tests with coverage"
- coverage run -m $TEST_CMD
+ coverage run -m pytest -k "not TestDate" -a "not net"
--ignore=tests/script_tests.py
fi
- name: Show coverage statistics
run: |
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224135?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: Iee5e6638fe5b70a31c91beceb9c114e233207c34
Gerrit-Change-Number: 1224135
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]