From 5e4f54d6435208ea2164aaf3e5c2792bbd1ee4e9 Mon Sep 17 00:00:00 2001 From: Florimond Manca Date: Sat, 12 Oct 2019 18:14:44 +0200 Subject: [PATCH] Add test script (#451) --- docs/contributing.md | 8 ++++++++ scripts/test | 6 ++++++ 2 files changed, 14 insertions(+) create mode 100755 scripts/test diff --git a/docs/contributing.md b/docs/contributing.md index 2faf88f6..7b745073 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -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. diff --git a/scripts/test b/scripts/test new file mode 100755 index 00000000..5b8e0940 --- /dev/null +++ b/scripts/test @@ -0,0 +1,6 @@ +#!/bin/sh -e + +set -x + +nox -s check +nox -s test -- 2.47.3