test
This file
Path
scripts/test
28 lines · 493 bytes
Last changed by
Enforce coverage (#955)Tom Christiebefore adoption0a8b0c6
History of this fileTake it
The walk stopped after 200 commits: lines older than c033ed1 point at it.
If `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
line 1why, one step back1#!/bin/shTimeoutConfig -> Timeout (#591)Tom Christiebefore adoptionc033ed1
lines 2–7why, one step back23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211
line 8why, one step back8if [ -z $GITHUB_ACTIONS ]; thenIf `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
line 9why, one step back9 set +eTimeoutConfig -> Timeout (#591)Tom Christiebefore adoptionc033ed1
line 10why, one step back10 scripts/checkIf `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
lines 11–19why, one step back11 while [ $? -ne 0 ]; do12 read -p "Running 'scripts/check' failed. Do you want to run 'scripts/lint' now? [y/N] " yn13 case $yn in14 [Yy]* ) :;;15 * ) exit;;16 esac17 scripts/lint18 scripts/check19 doneTimeoutConfig -> Timeout (#591)Tom Christiebefore adoptionc033ed1
line 20why, one step back20fiIf `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
lines 21–22why, one step back2122set -exTimeoutConfig -> Timeout (#591)Tom Christiebefore adoptionc033ed1
lines 23–24why, one step back2324${PREFIX}pytest $@Enforce coverage (#955)Tom Christiebefore adoption0a8b0c6
lines 25–28why, one step back2526if [ -z $GITHUB_ACTIONS ]; then27 scripts/coverage28fi