diff options
-rw-r--r-- | .appveyor.yml | 27 | ||||
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rwxr-xr-x | README.md | 1 | ||||
-rw-r--r-- | plugins/template/README.md | 8 | ||||
-rwxr-xr-x | tests/test_completion.py | 2 |
5 files changed, 4 insertions, 36 deletions
diff --git a/.appveyor.yml b/.appveyor.yml deleted file mode 100644 index 317b2b47..00000000 --- a/.appveyor.yml +++ /dev/null @@ -1,27 +0,0 @@ -# AppVeyor (https://www.appveyor.com) continous integration configuration file for Windows unit tests -build: off - -environment: - PYTHONUNBUFFERED: 1 - matrix: - - PYTHON_VERSION: "3.6.x" - PYTHON_ARCH: "64" - NOXSESSION: "tests-3.6" - - - PYTHON_VERSION: "3.7.x" - PYTHON_ARCH: "64" - NOXSESSION: "tests-3.7" - -install: - # Prepend the right Python version to the PATH of this build - - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - - # Check that we have the expected version and architecture for Python - - "python --version" - - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - - # Update Python stuff to make sure pip, setuptools, wheel etc are up to date - - "python -m pip install -U --user pip setuptools setuptools_scm flake8 nox" - -test_script: -- "python -m nox --non-interactive --session %NOXSESSION%" diff --git a/MANIFEST.in b/MANIFEST.in index 165268a8..2e8c08cd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,4 +3,4 @@ recursive-include examples * recursive-include tests * recursive-include docs * recursive-exclude docs/_build * -exclude .appveyor.yml .github .gitignore azure-pipelines.yml tasks.py +exclude .github .gitignore azure-pipelines.yml tasks.py @@ -2,7 +2,6 @@ cmd2: a tool for building interactive command line apps ======================================================= [](https://pypi.python.org/pypi/cmd2/) [](https://github.com/python-cmd2/cmd2/actions?query=workflow%3ACI) -[](https://ci.appveyor.com/project/FedericoCeratto/cmd2) [](https://python-cmd2.visualstudio.com/cmd2/_build/latest?definitionId=1&branch=master) [](https://codecov.io/gh/python-cmd2/cmd2) [](http://cmd2.readthedocs.io/en/latest/?badge=latest) diff --git a/plugins/template/README.md b/plugins/template/README.md index 8a423f06..1944f1c7 100644 --- a/plugins/template/README.md +++ b/plugins/template/README.md @@ -210,8 +210,8 @@ tiered testing strategy to accomplish this objective. - [pytest](https://pytest.org) runs the unit tests - [nox](https://nox.thea.codes/en/stable/) runs the unit tests on multiple versions of python -- [AppVeyor](https://www.appveyor.com/) and [TravisCI](https://travis-ci.com) - run the tests on the various supported platforms +- [GitHub Actions](https://github.com/features/actions) runs the tests on the various + supported platforms This plugin template is set up to use the same strategy. @@ -307,9 +307,7 @@ $ nox ### Run unit tests on multiple platforms -[AppVeyor](https://github.com/marketplace/appveyor) and -[TravisCI](https://docs.travis-ci.com/user/getting-started/) offer free plans -for open source projects. +[GitHub Actions](https://github.com/features/actions) offers free plans for open source projects ## Packaging and Distribution diff --git a/tests/test_completion.py b/tests/test_completion.py index 0d8f6eb1..d56c035f 100755 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -491,8 +491,6 @@ def test_path_completion_doesnt_match_wildcards(cmd2_app, request): # Currently path completion doesn't accept wildcards, so will always return empty results assert cmd2_app.path_complete(text, line, begidx, endidx) == [] -@pytest.mark.skipif(sys.platform == 'win32', reason="getpass.getuser() does not work on Windows in AppVeyor because " - "no user name environment variables are set") def test_path_completion_complete_user(cmd2_app): import getpass user = getpass.getuser() |