fix: Remove venv

This commit is contained in:
Cristian 2020-07-31 12:21:01 -05:00
parent 206ade7d7c
commit 98d9d58f63

View file

@ -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: