test
This file
Path
scripts/test
24 lines · 436 bytes
Last changed by
If `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
History of this fileTake it
The walk stopped after 200 commits: lines older than 8d55d78 point at it.
If `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
line 1why, one step back1#!/bin/shDrop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
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 +eDrop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
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 doneDrop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
line 20why, one step back20fiIf `scripts/check` fails then prompt and autofix. (#952)Tom Christiebefore adoption51b70b3
lines 21–22why, one step back2122set -exDrop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
lines 23–24why, one step back2324${PREFIX}pytest $@