put venv in path instead of manually hardcoding bins

This commit is contained in:
Nick Sweeting 2020-07-28 07:27:42 -04:00
parent 5e56c0f14e
commit 78e1b8c15b

View file

@ -62,12 +62,13 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m venv .venv python3 -m venv .venv
./.venv/bin/python -m pip install . source .venv/bin/activate
./.venv/bin/python -m pip install pytest bottle python -m pip install .
python -m pip install pytest bottle
- name: Test built package with pytest - name: Test built package with pytest
run: | run: |
./.venv/bin/python -m pytest -s python -m pytest -s
docker-test: docker-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest