diff options
| author | 2021-12-26 18:40:11 +0000 | |
|---|---|---|
| committer | 2021-12-26 18:40:11 +0000 | |
| commit | e5c07edcb90018ac14787048e87f13c1384faf9f (patch) | |
| tree | c2a2f478e2a27093c18fef5db49a645e87d9ee41 /Pipfile | |
| parent | Excluded the snekbox/config_pb2.py from coverage (#130) (diff) | |
| parent | CI: disable setup-python action on self-hosted runner (diff) | |
Merge pull request #127 from python-discord/feat/nsjail/102/cgroupv2
Diffstat (limited to 'Pipfile')
| -rw-r--r-- | Pipfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,9 +40,10 @@ precommit = "pre-commit install" # Testing report = "coverage report" # Fix ownership of the coverage file even if tests fail & preserve exit code +# Install numpy because a test checks if it's importable test = """ docker-compose run --entrypoint /bin/bash --rm snekbox -c \ - 'coverage run -m unittest; e=$?; chown --reference=. .coverage; exit $e' + 'env PYTHONUSERBASE=/snekbox/user_base pip install numpy && coverage run -m unittest; e=$?; chown --reference=. .coverage; exit $e' """ # Docker |