Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1031407?usp=email )
Change subject: [tests] fix workflow files ......................................................................
[tests] fix workflow files
Change-Id: I3887b5e903fd0884e84eb42ab900787ce03c7f8e --- M .github/workflows/doctest.yml M .github/workflows/login_tests-ci.yml M .github/workflows/oauth_tests-ci.yml M .github/workflows/pywikibot-ci.yml M .github/workflows/write_tests-ci.yml 5 files changed, 9 insertions(+), 9 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index aedfa75..e841423 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -15,7 +15,7 @@
jobs: build: - runs-on: ${{ matrix.os || ubuntu-latest }} + runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 10
strategy: diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 10ab653..92efe93 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -15,7 +15,7 @@
jobs: build: - runs-on: ${{ matrix.os || 'ubuntu-latest' }} + runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 30
strategy: @@ -24,7 +24,7 @@
matrix: python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] - site: [ wikipedia:en, wikisource:zh, wikipedia:test" ] + site: [ "wikipedia:en", "wikisource:zh", "wikipedia:test" ] include: - python-version: "3.7" site: False diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index 3b32ceb..b263be4 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -16,7 +16,7 @@
jobs: build: - runs-on: ${{ matrix.os || 'ubuntu-latest' }} + runs-on: ${{ matrix.os || "ubuntu-latest" }} timeout-minutes: 5
strategy: @@ -26,7 +26,7 @@ python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] family: [ wikipedia ] code: [ test ] - domain: [ test.wikipedia.org ] + domain: [ "test.wikipedia.org" ] include: - python-version: "3.7" family: wpbeta diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index ecc87ff..e2421ae 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -17,7 +17,7 @@
jobs: build: - runs-on: ${{ matrix.os || 'ubuntu-latest' }} + runs-on: ${{ matrix.os || "ubuntu-latest" }} continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100
@@ -27,7 +27,7 @@
matrix: python-version: [ "pypy3.7", "pypy3.10", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev", "3.14-dev" ] - site: [ wikipedia:en, wikisource:zh ] + site: [ "wikipedia:en", "wikisource:zh" ] test_prod_only: [ true ] include: - python-version: "3.7" diff --git a/.github/workflows/write_tests-ci.yml b/.github/workflows/write_tests-ci.yml index 27a5623..6e6a661 100644 --- a/.github/workflows/write_tests-ci.yml +++ b/.github/workflows/write_tests-ci.yml @@ -15,7 +15,7 @@
jobs: build: - runs-on: 'ubuntu-latest' + runs-on: "ubuntu-latest" continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100
@@ -24,7 +24,7 @@
matrix: python-version: [ "3.7" ] - site: [ wikipedia:test ] + site: [ "wikipedia:test" ] experimental: [ true ]
steps:
pywikibot-commits@lists.wikimedia.org