Add test script (#451)

This commit is contained in:
Florimond Manca 2019-10-12 18:14:44 +02:00 committed by GitHub
parent 49ed77a706
commit 5e4f54d643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View File

@ -100,6 +100,14 @@ You can also run a single test script like this:
$ nox -s test -- tests/test_multipart.py
```
Lastly, to ensure you're on track to pass the CI build, run:
```shell
$ scripts/test
```
This command is a light wrapper around `nox` that will run code style checks and test the code against all installed Python versions.
## Documenting
Documentation pages are located under the `docs/` folder.

6
scripts/test Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh -e
set -x
nox -s check
nox -s test