diff --git a/.travis.yml b/.travis.yml index 45f6bd5..7f74bf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ install: - tinydownload 07426048687547254773 -o ~/bin/ffmpeg - chmod 755 ~/bin/ffmpeg - xdg-user-dirs-update -script: python -m pytest --cov=. +script: pytest --cov=. after_success: - pip install codecov - codecov diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4605586..a9bb414 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,7 +24,7 @@ don't feel bad. Open an issue any way! unless mentioned otherwise. - Code should be formatted using [black](https://github.com/ambv/black). Don't worry if you forgot or don't know how to do this, the codebase will be black-formatted with each release. - All tests are placed in the [test directory](https://github.com/ritiek/spotify-downloader/tree/master/test). We use [pytest](https://github.com/pytest-dev/pytest) -to run the test suite: `$ python3 -m pytest`. +to run the test suite: `$ pytest`. If you don't have pytest, you can install it with `$ pip3 install pytest`. - Add a note about the changes, your GitHub username and a reference to the PR to the `Unreleased` section of the [`CHANGES.md`](CHANGES.md) file (see existing releases for examples), add the appropriate section ("Added", "Changed", "Fixed" etc.) if necessary. You don't have to increment version numbers. See https://keepachangelog.com/en/1.0.0/ for more information. - If you are planning to work on something big, let us know through an issue. So we can discuss more about it. diff --git a/README.md b/README.md index 530edb5..2020a7e 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more info. ## Running Tests ```console -$ python3 -m pytest +$ pytest ``` Obviously this requires the `pytest` module to be installed.