Skip to content

Commit

Permalink
Add venv to instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Jan 29, 2024
1 parent fec88b6 commit 37a2cc2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ jobs:
- name: checkout repo content
uses: actions/checkout@v4

- name: Install Python requirements
run: |
pip install --upgrade pip
pip install pytest pytest-cov
- name: Test
run: pytest --cov
run: |
python3 -m venv venv
venv/bin/python3 -m pip install --upgrade pip
venv/bin/python3 -m pip install pytest pytest-cov
venv/bin/python3 -m pytest --cov
- name: Coveralls
if: matrix.python-version == '3.12'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

## Requirements

Python 2.7 or Python 3.2.6 and later
Python 2.7+/3.2.6+

## Usage

Expand Down

0 comments on commit 37a2cc2

Please sign in to comment.