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

Change subject: [tests] drop Appveyor tests
......................................................................

[tests] drop Appveyor tests

Bug: T368192
Change-Id: I907099d6537e294d6fa6350b5da6ee6d0a3c4b7d
---
D .appveyor.yml
M README.rst
M tests/README.rst
3 files changed, 0 insertions(+), 91 deletions(-)

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




diff --git a/.appveyor.yml b/.appveyor.yml
deleted file mode 100644
index 463f6c3..0000000
--- a/.appveyor.yml
+++ /dev/null
@@ -1,71 +0,0 @@
-image: Visual Studio 2022
-clone_depth: 50
-skip_tags: true
-version: 9.3.{build}
-environment:
-
-  PYWIKIBOT_DIR: "%appdata%\\Pywikibot"
-  PYWIKIBOT_USER_CONFIG: "%appdata%\\Pywikibot\\user-config.py"
-  PYWIKIBOT_PASSWD_FILE: "%appdata%\\Pywikibot\\passwordfile"
-
-  PYSETUP_TEST_EXTRAS: "1"
-  PYWIKIBOT_TEST_GUI: "1"
-  PYWIKIBOT_TEST_RUNNING: "1"
-
-  matrix:
-
-    # Test the lowest supported release
-    # Python 3.7.0 is provided by VS 2013
-
-    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
-      PYTHON: "C:\\Python37"
-      PYTHON_VERSION: "3.7.0"
-      PYTHON_ARCH: "32"
-
-    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
-      PYTHON: "C:\\Python37"
-      PYTHON_VERSION: "3.7.0"
-      PYTHON_ARCH: "64"
-
-    # Other versions are tested with GutHub actions
-
-matrix:
-  fast_finish: false
-
-init:
-  - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
-  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-
-install:
-  # ignore SSL error for old image
-  - if [%PYTHON_VERSION%]==[3.7.0] set GIT_SSL_NO_VERIFY=true
-  - git submodule update --init
-  # Download the AppVeyor Python build accessories into subdirectory .\appveyor
-  - mkdir appveyor
-  - python --version
-  - python -c "import struct; print('PYTHON_ARCH:', struct.calcsize('P') << 3)"
-  - python -m pip install --upgrade pip
-  - pip --version
-  # required for Python 3.7.0
-  - if [%PYTHON_VERSION%]==[3.7.0] pip install "urllib3<2.0"
-  - if [%PYTHON_VERSION%]==[3.7.0] pip install -U setuptools
-  # other requirements
-  - pip install -r requirements.txt
-  - pip install -r dev-requirements.txt
-
-build: off
-
-test_script:
-  - "mkdir %PYWIKIBOT_DIR%"
-  - "python -Werror::UserWarning -m pwb generate_user_files 
-dir:%PYWIKIBOT_DIR% -family:wikipedia -lang:en -v -debug 
-user:%PYWIKIBOT_USERNAME%"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'maximum_GET_length = 5000; transliteration_target = None;')"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 'noisysleep = 
float(''inf'');')"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'usernames[''wikipedia''][''test''] = ''{0}'';' -f $env:PYWIKIBOT_USERNAME)"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'usernames[''wikidata''][''test''] = ''{0}'';' -f $env:PYWIKIBOT_USERNAME)"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'usernames[''commons''][''commons''] = ''{0}'';' -f $env:PYWIKIBOT_USERNAME)"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'usernames[''meta''][''meta''] = ''{0}'';' -f $env:PYWIKIBOT_USERNAME)"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 
'usernames[''wikisource''][''zh''] = ''{0}'';' -f $env:PYWIKIBOT_USERNAME)"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_PASSWD_FILE, ('(''{0}'', 
''{1}'')\n' -f $env:PYWIKIBOT_USERNAME, $env:USER_PASSWORD))"
-  - ps: "[IO.File]::AppendAllText($env:PYWIKIBOT_USER_CONFIG, 'password_file = 
''{0}'';' -f $env:PYWIKIBOT_PASSWD_FILE.replace('\\', '\\\\'))"
-
-  - "%CMD_IN_ENV% coverage run -m unittest discover -vv -p \"*_tests.py\""
diff --git a/README.rst b/README.rst
index 82bea0a..5105d06 100644
--- a/README.rst
+++ b/README.rst
@@ -1,9 +1,6 @@
 .. image:: 
https://github.com/wikimedia/pywikibot/actions/workflows/pywikibot-ci.yml/badge.svg?branch=master
    :alt: GitHub CI
    :target: 
https://github.com/wikimedia/pywikibot/actions/workflows/pywikibot-ci.yml
-.. image:: 
https://ci.appveyor.com/api/projects/status/xo2g4ctoom8k6yvw/branch/master?svg=true
-   :alt: AppVeyor Build Status
-   :target: https://ci.appveyor.com/project/pywikibot-core/pywikibot
 .. image:: 
https://codecov.io/gh/wikimedia/pywikibot/branch/master/graph/badge.svg
    :alt: Code coverage
    :target: https://app.codecov.io/gh/wikimedia/pywikibot
diff --git a/tests/README.rst b/tests/README.rst
index 626875b..28cf19a 100644
--- a/tests/README.rst
+++ b/tests/README.rst
@@ -78,23 +78,6 @@
     PYWIKIBOT_TEST_MODULES=api,site python -m unittest -v


-AppVeyor CI
-===========
-
-After changes are published into a GitHub repository, tests may be run on
-a Microsoft Windows box provided by ci.appveyor.com according to the
-configuration in .appveyor.yml file. To do this:
-
-1. create a GitHub and AppVeyor account
-2. fork the main GitHub repository
-3. create a project in ci.appveyor.com
-4. go to https://ci.appveyor.com/project/<username>/pywikibot/settings
-   and enter the custom configuration .yml filename: .appveyor.yml
-5. push changes into the forked git repository
-6. watch the build at https://ci.appveyor.com/<username>/pywikibot/history
-
-The 'user' tests are not yet enabled on AppVeyor builds.
-
 Environment variables
 =====================


--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050792?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: I907099d6537e294d6fa6350b5da6ee6d0a3c4b7d
Gerrit-Change-Number: 1050792
Gerrit-PatchSet: 6
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: JJMC89 <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to