From d6ac7998f0259d3fa2875d40c878a4c029f8e69a Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 28 Jul 2020 00:14:34 -0400 Subject: [PATCH] fix venv path --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17431678..de5c11e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ on: [push] env: MAX_LINE_LENGTH: 110 - + jobs: lint: runs-on: ubuntu-latest @@ -16,9 +16,12 @@ jobs: python-version: 3.8 architecture: x64 - - name: Lint with flake8 + - name: Install flake8 run: | pip install flake8 + + - name: Lint with flake8 + run: | # one pass for show-stopper syntax errors or undefined names flake8 archivebox --count --show-source --statistics # one pass for small stylistic things @@ -58,7 +61,7 @@ jobs: - name: Install dependencies run: | - python3 -m .venv + python3 -m venv .venv ./.venv/bin/python -m pip install -e '.[dev]' - name: Test built package with pytest