From 73934a3f442dde27d9d10184a2c31a765470ff1e Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 19 Jul 2018 11:16:10 -0400 Subject: [PATCH] Use instafail so we can see what's going on --- .circleci/config.yml | 2 +- Makefile | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2868edc64..59728219f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave /usr/bin/g++ g++ /usr/bin/g++-8 sudo update-alternatives --set gcc /usr/bin/gcc-8 - sudo pip install pytest-xdist selenium PyYAML + sudo pip install pytest-xdist pytest-instafail selenium PyYAML # Get recent version of Firefox and geckodriver wget -O firefox.tar.bz2 https://download.mozilla.org/\?product\=firefox-nightly-latest-ssl\&os\=linux64\&lang\=en-US diff --git a/Makefile b/Makefile index 4bae6248e..5644be4f2 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ build/renderedhtml.css: src/renderedhtml.less test: all build/test.html build/test_data.txt - py.test test -v + py.test test -v --instafail build/test_data.txt: test/data.txt diff --git a/README.md b/README.md index 268685f3c..d4bef824f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Additional build prerequisites are: Install the following dependencies into the default Python installation: - `pip install pytest selenium` + `pip install pytest selenium pytest-instafail` Install [geckodriver](https://github.com/mozilla/geckodriver/releases) somewhere on your `PATH`.