From: Florimond Manca Date: Sat, 12 Oct 2019 16:14:44 +0000 (+0200) Subject: Add test script (#451) X-Git-Tag: 0.7.6~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e4f54d6435208ea2164aaf3e5c2792bbd1ee4e9;p=thirdparty%2Fhttpx.git Add test script (#451) --- 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