Fix can't execute shlax: no such file or dir

This commit is contained in:
jpic 2020-04-21 22:01:55 +02:00
parent 29505d1004
commit 00bc4a74ae

View File

@ -3,13 +3,17 @@ build:
key: cache
paths: [.cache]
image: yourlabs/python
script: pip install -U --user -e .[cli] && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build
script:
- pip install -U --user -e .[cli]
- CACHE_DIR=$(pwd)/.cache ~/.local/bin/shlax ./shlaxfile.py build
stage: build
test:
image: yourlabs/python
stage: build
script: pip install -U --user -e .[test] && py.test -sv tests
script:
- pip install -U --user -e .[test]
- py.test -sv tests
pypi:
image: yourlabs/python