mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 01:40:16 +00:00
Maybe stop calling pytest as module works?
This commit is contained in:
@@ -40,7 +40,7 @@ install:
|
|||||||
- tinydownload 07426048687547254773 -o ~/bin/ffmpeg
|
- tinydownload 07426048687547254773 -o ~/bin/ffmpeg
|
||||||
- chmod 755 ~/bin/ffmpeg
|
- chmod 755 ~/bin/ffmpeg
|
||||||
- xdg-user-dirs-update
|
- xdg-user-dirs-update
|
||||||
script: python -m pytest --cov=.
|
script: pytest --cov=.
|
||||||
after_success:
|
after_success:
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
- codecov
|
- codecov
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ don't feel bad. Open an issue any way!
|
|||||||
unless mentioned otherwise.
|
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.
|
- 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)
|
- 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`.
|
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.
|
- 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.
|
- If you are planning to work on something big, let us know through an issue. So we can discuss more about it.
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more info.
|
|||||||
## Running Tests
|
## Running Tests
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ python3 -m pytest
|
$ pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
Obviously this requires the `pytest` module to be installed.
|
Obviously this requires the `pytest` module to be installed.
|
||||||
|
|||||||
Reference in New Issue
Block a user