From 08566e02b5c8f83707110be022bb64e919b4e9dd Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Mon, 22 Jul 2019 15:58:54 +0530 Subject: [PATCH] Update command to run tests --- .travis.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 690bbd0..45f6bd5 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 test --cov=. +script: python -m pytest --cov=. after_success: - pip install codecov - codecov diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3f0c566..4605586 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 test`. +to run the test suite: `$ python3 -m 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 11f6e10..530edb5 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 test +$ python3 -m pytest ``` Obviously this requires the `pytest` module to be installed.