fix venv path

This commit is contained in:
Nick Sweeting 2020-07-28 00:14:34 -04:00
parent 2fa8b9d359
commit d6ac7998f0

View file

@ -3,7 +3,7 @@ on: [push]
env: env:
MAX_LINE_LENGTH: 110 MAX_LINE_LENGTH: 110
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -16,9 +16,12 @@ jobs:
python-version: 3.8 python-version: 3.8
architecture: x64 architecture: x64
- name: Lint with flake8 - name: Install flake8
run: | run: |
pip install flake8 pip install flake8
- name: Lint with flake8
run: |
# one pass for show-stopper syntax errors or undefined names # one pass for show-stopper syntax errors or undefined names
flake8 archivebox --count --show-source --statistics flake8 archivebox --count --show-source --statistics
# one pass for small stylistic things # one pass for small stylistic things
@ -58,7 +61,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m .venv python3 -m venv .venv
./.venv/bin/python -m pip install -e '.[dev]' ./.venv/bin/python -m pip install -e '.[dev]'
- name: Test built package with pytest - name: Test built package with pytest