Skip to content

Commit

Permalink
Remove venv.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Jan 31, 2024
1 parent c4a1100 commit c57cca1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,12 @@ jobs:
- name: checkout repo content
uses: actions/checkout@v4

- name: Test (Python 2)
if: matrix.python-version == '2.7'
- name: Test
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-cov
python -m pytest --cov
- name: Test (Python 3)
if: matrix.python-version != '2.7'
run: |
apt-get -y install python3-venv
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'
uses: coverallsapp/github-action@v2

0 comments on commit c57cca1

Please sign in to comment.