Files
codespell/appveyor.yml
Peter Newman e4b648fa3a Fix dictionary check action and standardise the make command we run (#1647)
* Update .travis.yml

* Add more debugging to make

* Removing some extra make debug

* Warn if the dictionary tests won't be run

* Remove the make verbosity again

* Install the required dependencies

* Try and install via the right version of pip

* Add a dev extras section

* Switch to the dev extras to install the codespell dev packages

* Install the codespell dev packages via pip

* We need to checkout to have our file

* Install general dependencies

* Add more stuff to extras

* Install the extras from the right directory

Also move more stuff to extras

* Remove the packages installed via the dev packaging and standardise the order with Travis

* Fix the flake8 warnings

* Make the missing test dependencies a fatal error

* Add a note about dev to the readme

* Update README.rst formatting

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>

* Tweak licence detail formatting

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>

* Pull coverage in as a dependency

* Pull coverage in as a dependency

* Add flake8 to our dev and sort the requirements

* Add a check action which calls flake8, check-manifest and check-dictionaries

* Add the other bits of checking to Makefile

* Switch to make check

* Try running make check on appveyor

* Add a note about make check

* No make on appveyor

Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
2020-09-01 11:31:54 -04:00

36 lines
1020 B
YAML

clone_depth: 50
environment:
matrix:
- PYTHON: C:\Python37-x64
PYTHON_VERSION: 3.7
PYTHON_ARCH: 64
cache:
# Cache downloaded pip packages and built wheels.
- '%LOCALAPPDATA%\pip\Cache\http'
- '%LOCALAPPDATA%\pip\Cache\wheels'
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- "pip install codecov chardet setuptools"
- "pip install -e \".[dev]\"" # install the codespell dev packages
- "python setup.py develop"
build: false # Not a C# project, build stuff at the test step instead.
test_script:
- "codespell --help"
- "flake8"
- "pytest codespell_lib"
on_success:
- "codecov"
# Remove old or huge cache files to hopefully not exceed the 1GB cache limit.
# (adapted from PyInstaller)
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -type f -mtime +360 -delete
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -type f -size +10M -delete
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -empty -delete
# Show size of cache
- C:\cygwin\bin\du -hs "%LOCALAPPDATA%\pip\Cache"