Skip to content
Myr

test

This file

Path

scripts/test

14 lines · 158 bytes

Last changed by

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

History of this file

Take it

Add test script (#451)Florimond Mancabefore adoption5e4f54d

lines 1–2why, one step back
1#!/bin/sh -e
2

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 3–7why, one step back
3export PREFIX=""
4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7

Add test script (#451)Florimond Mancabefore adoption5e4f54d

lines 8–9why, one step back
8set -x
9

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 10–14why, one step back
10if [ -z $CI ]; then
11 scripts/check12fi1314${PREFIX}pytest $@