Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1222705?usp=email )
Change subject: [tests] only use fast test without net access for GraalPy to decrease runtime ......................................................................
[tests] only use fast test without net access for GraalPy to decrease runtime
Bug: T413596 Change-Id: I3ecac9dfb4b68dd8b98612e8c9adc36c11c26480 --- 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 4075f34..5ee6423 100644 --- a/.github/workflows/graalpy_tests.yml +++ b/.github/workflows/graalpy_tests.yml @@ -18,7 +18,6 @@ build: runs-on: ${{ matrix.os || 'ubuntu-latest' }} continue-on-error: ${{ matrix.experimental || false }} - timeout-minutes: 90 strategy: fail-fast: false matrix: @@ -45,6 +44,7 @@ pip install "requests>=2.31.0" pip install "wikitextparser>=0.56.4" pip install "pytest >= 9.0.1" + pip install pytest-attrib pip install "coverage>=7.11.0" - name: Generate user files run: | @@ -52,13 +52,12 @@ - name: Test with unittest or pytest id: ci_test continue-on-error: true - timeout-minutes: 60 env: PYTHONIOENCODING: utf-8 PYWIKIBOT_TEST_NO_RC: 1 run: | python pwb.py version - coverage run -m pytest + coverage run -m pytest -a "not net" - name: Show coverage statistics run: | coverage combine || true
pywikibot-commits@lists.wikimedia.org