mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-20 18:05:19 -04:00
fix: Remove venv
This commit is contained in:
parent
206ade7d7c
commit
98d9d58f63
1 changed files with 0 additions and 13 deletions
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
|
@ -27,11 +27,6 @@ jobs:
|
||||||
# one pass for small stylistic things
|
# one pass for small stylistic things
|
||||||
flake8 archivebox --count --max-line-length="$MAX_LINE_LENGTH" --statistics
|
flake8 archivebox --count --max-line-length="$MAX_LINE_LENGTH" --statistics
|
||||||
|
|
||||||
# - name: Lint with mypy
|
|
||||||
# run: |
|
|
||||||
# pip install mypy
|
|
||||||
# mypy archivebox || true
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
@ -60,21 +55,13 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-${{ matrix.python }}-venv-
|
${{ runner.os }}-${{ matrix.python }}-venv-
|
||||||
|
|
||||||
- name: Create virtualenv
|
|
||||||
run: |
|
|
||||||
python3 -m venv .venv
|
|
||||||
source .venv/bin/activate
|
|
||||||
python3 -m pip install --upgrade pip setuptools
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
python -m pip install .
|
python -m pip install .
|
||||||
python -m pip install pytest bottle
|
python -m pip install pytest bottle
|
||||||
|
|
||||||
- name: Test built package with pytest
|
- name: Test built package with pytest
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
|
||||||
python -m pytest -s
|
python -m pytest -s
|
||||||
|
|
||||||
docker-test:
|
docker-test:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue