mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 16:14:28 -04:00
fix venv path
This commit is contained in:
parent
2fa8b9d359
commit
d6ac7998f0
1 changed files with 6 additions and 3 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue