Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test script #451

Merged
merged 1 commit into from
Oct 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 6 additions & 0 deletions scripts/test
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh -e

set -x

nox -s check
nox -s test