From c57cca15361faddd15bec31c61c6aa0019cf4502 Mon Sep 17 00:00:00 2001 From: Wu Tingfeng Date: Wed, 31 Jan 2024 11:58:00 +0800 Subject: [PATCH] Remove venv. --- .github/workflows/ci.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8df801..cd34d9b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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